Design and experiment of a vision recognition system for maize seedling rows based on SegFormer
To address the precision and robustness requirements of local relative navigation for inter-row operations during the maize seedling stage, a SegFormer-B2-based visual recognition system was designed and implemented in this study. Built upon the ROS framework, the system employs SegFormer-B2 for pixel-level segmentation of maize seedling rows and integrates morphological mask refinement, connected-component filtering, least-squares row fitting, and navigation-midline construction to obtain lateral and heading deviations. The static comparison experiment evaluated navigation-line extraction under normal growth, missing seedlings with row discontinuities, weed interference, and leaf-litter interference. Across the 50 test images, the proposed method achieved mean lateral and heading deviations of 8.91 pixels and 0.844°, respectively, outperforming the conventional ExG+RowLine and HSV+Morphology methods. The mean errors and sample standard deviations for each scenario further characterized the extraction accuracy and its variation under different field conditions. Dynamic field experiments evaluated continuous navigation-parameter outputs while the vehicle was manually driven along a reference string. Under the 20 cm and 25 cm plant-spacing configurations, the lateral deviation RMSE values were 2.89 cm and 3.11 cm, respectively, and the heading deviation RMSE values were 3.260° and 3.633°, respectively. The average processing rate was 11.46 FPS. These results demonstrate that the integrated segmentation and geometric-processing pipeline can extract maize seedling-row navigation lines under the evaluated field conditions and continuously generate lateral and heading parameters during vehicle movement. The system provides a visual perception basis for maize seedling-stage inter-row navigation and its integration with intelligent agricultural machinery.
Authors
- Xuanfeng Liu
- Li Zhang (ORCID: https://orcid.org/0000-0003-2196-2180)
- Yongxin Jiang
- Xin Zhou (ORCID: https://orcid.org/0000-0001-8748-3233)
- Haichun Zhang
- Qi Liang
Institutions
- Xinjiang Academy of Agricultural Sciences (CN)
Publication Details
- Journal
- Frontiers in Plant Science
- Published
- 2026-11-25
- DOI
- https://doi.org/10.3389/fpls.2026.2005451
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00