This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Open AccessArticle
A Visual Intelligent Approach to Recognize Corn Row and Spacing for Precise Spraying
by
Yuting Zhang
Yuting Zhang
YUTING ZHANG received the B.E. degree in Computer Science and Technology from Hebei Agricultural in [...]
YUTING ZHANG received the B.E. degree in Computer Science and Technology from Hebei Agricultural University, Baoding, in 2007, and the M.Eng degree in Computer Application Technology, from Hebei Agricultural University, Baoding, in 2011. She is currently pursuing the Ph.D. degree with the College of Information Science and Technology, Hebei Agricultural University. Her research interests include Agricultural Informatization, and Smart Agriculture.
1,
Zihang Liu
Zihang Liu
ZIHANG LIU received his bachelor's degree in 2022 from Hebei Agricultural University and is pursuing [...]
ZIHANG LIU received his bachelor's degree in 2022 from Hebei Agricultural University and is currently pursuing a master's degree in artificial intelligence at the same institution. His research focuses on the application of artificial intelligence in agriculture, particularly in the field of crop variety identification and precision farming.
1
,
Xiangdong Guo
Xiangdong Guo
XIANGDONG GUO received the B.E. degree in Electrical Engineering and the Master's degree in from & [...]
XIANGDONG GUO received the B.E. degree in Electrical Engineering and the Master's degree in Agricultural Informatics from Shanxi Agricultural University, Taigu. He received his Ph.D. degree in Agricultural Electrification & Automation from Hebei Agricultural University, Baoding, in 2024. His research interests are smart agriculture, intelligent machinery, general aviation in agriculture applications, and microwave and electronic applications.
2,* and
Guifa Teng
Guifa Teng
Prof. Dr. GUIFA TENG received his doctoral degree from the Department of Information Management at [...]
Prof. Dr. GUIFA TENG received his doctoral degree from the Department of Information Management at Peking University with a doctoral degree, in June 2005. Second-level professor, doctoral supervisor, and Hebei Province Teaching Excellence Award recipient. President of Baoding University of Technology, Director of the Hebei Agricultural Big Data Collaborative Innovation Center, and Director of the Hebei Agricultural Intelligent Equipment Technology Research Institute. His research interests are artificial intelligence and digital agriculture.
1,3,4,*
1
College of Information Science and Technology, Hebei Agricultural University, Baoding 071001, China
2
School of Software, Shanxi Agricultural University, No. 1 Mingxian South Road, Taigu District, Jinzhong 030801, China
3
Hebei Key Laboratory of Agricultural Big Data, No. 289 Lingyusi Street, Lianchi District, Baoding 071001, China
4
Hebei Digital Agriculture Industry Technology Research Institute, Shijiazhuang 056400, China
*
Authors to whom correspondence should be addressed.
Agriculture 2025, 15(22), 2389; https://doi.org/10.3390/agriculture15222389 (registering DOI)
Submission received: 16 October 2025
/
Revised: 17 November 2025
/
Accepted: 18 November 2025
/
Published: 19 November 2025
Abstract
Precision spraying is a crucial goal for modern agriculture to achieve water and fertilizer conservation, reduced pesticide use, high yield, and green and sustainable development. This relies on the accurate identification of crop positions, high-precision path planning, and the positioning and control of intelligent agricultural machinery. For the precision production of corn, this paper proposes a new row detection method based on histogram peak detection and sliding window search, avoiding the issues of deep learning methods that are not conducive to lightweight deployment and large-scale promotion. Firstly, green channel segmentation and morphological operations are performed on high-resolution drone images to extract regions of interest (ROIs). Then, the ROIs are converted to a top-view image using perspective transformation, and a histogram analysis is performed using the find_peaks function to detect multiple peaks corresponding to row positions. Furthermore, a sliding window centered around the peak is constructed to search for complete single-row crop pixels in the vertical direction. Finally, the least squares method is used to fit the row curve, estimating the average row spacing (RowGap) and plant spacing (PlantGap) separately. The experimental results show that the accuracy of row detection reaches 93.8% ± 2.1% (n = 60), with a recall rate of 91.5% ± 1.8% and an F1 score of 0.925 ± 0.018. Under different growth stages, row numbers (6–8 rows), and weed interference conditions, the average row spacing measurement error is better than ±2.5 cm, and the plant spacing error is less than ±3.0 cm. Through field verification, this method reduces pesticide use by 23.6% and water consumption by 21.4% compared to traditional uniform spraying, providing important parameter support for field precision planting quality assessment and the dynamic monitoring of planting density, achieving variable irrigation and fertilization and water resource conservation.
Share and Cite
MDPI and ACS Style
Zhang, Y.; Liu, Z.; Guo, X.; Teng, G.
A Visual Intelligent Approach to Recognize Corn Row and Spacing for Precise Spraying. Agriculture 2025, 15, 2389.
https://doi.org/10.3390/agriculture15222389
AMA Style
Zhang Y, Liu Z, Guo X, Teng G.
A Visual Intelligent Approach to Recognize Corn Row and Spacing for Precise Spraying. Agriculture. 2025; 15(22):2389.
https://doi.org/10.3390/agriculture15222389
Chicago/Turabian Style
Zhang, Yuting, Zihang Liu, Xiangdong Guo, and Guifa Teng.
2025. "A Visual Intelligent Approach to Recognize Corn Row and Spacing for Precise Spraying" Agriculture 15, no. 22: 2389.
https://doi.org/10.3390/agriculture15222389
APA Style
Zhang, Y., Liu, Z., Guo, X., & Teng, G.
(2025). A Visual Intelligent Approach to Recognize Corn Row and Spacing for Precise Spraying. Agriculture, 15(22), 2389.
https://doi.org/10.3390/agriculture15222389
Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details
here.
Article Metrics
Article Access Statistics
For more information on the journal statistics, click
here.
Multiple requests from the same IP address are counted as one view.