Skip to Content
AgricultureAgriculture
  • Article
  • Open Access

28 November 2026

30 Pages

A Method for Maize Seedling Detection and Leaf-Age Recognition by Integrating Object Detection with Prompt-Based Segmentation

,
,
,
,
,
,
,
and
1
College of Mechanical and Electronic Engineering, Nanjing Forestry University, Nanjing 210037, China
2
National Nanfan Research Institute (Sanya), Chinese Academy of Agricultural Sciences, Sanya 572024, China
3
Institute of Crop Sciences, Chinese Academy of Agricultural Sciences, Beijing 100081, China
4
School of Computer, Shenyang Aerospace University, Shenyang 110136, China
Agriculture2026, 16(23), 2628;https://doi.org/10.3390/agriculture16232628 
(registering DOI)
This article belongs to the Section Artificial Intelligence and Digital Agriculture

Abstract

We extended image-based maize seedling counting and leaf-age recognition to include measurements of individual-plant morphology from close-range field RGB images. YOLO11n-Det counted seedlings and supplied bounding boxes that prompted Segment Anything Model 3 (SAM3) to delineate each plant. A random forest classifier used nine morphological and structural features from the resulting masks to predict the number of fully expanded functional leaves. On the detection test set, YOLO11n-Det achieved a mean mAP@0.5 of 0.913 and a mean absolute counting error of 0.944 seedlings per image. Bounding-box prompting yielded the highest Dice score among the three prompt types on 82 validation images. On 77 segmentation test images, SAM3-BOX achieved a foreground intersection over union (IoU) of 0.818 and a Dice score of 0.898. U-Net achieved the highest mean IoU of 0.839. Using SAM3 masks generated from annotated boxes, the classifier achieved a mean absolute error of 0.461 leaves and 97.4% accuracy within one leaf. On 90 external images acquired in 2026 using the same equipment in a different field with different cultivars, detection mAP@0.5 was 0.683, foreground IoU was 0.769, and the complete workflow averaged 68.5% accuracy within one leaf across all 355 labeled seedlings. The external evaluation used a single imaging system, so performance with other sensors remains to be established. By pairing stand counts with measurements of individual-plant area, contour, and leaf age, the workflow could support field surveys of uneven seedling development and automated phenotyping.

Article Metrics

Citations

Article Access Statistics

Article metric data becomes available approximately 24 hours after publication online.