METHODS article
Front. Plant Sci.
Sec. Technical Advances in Plant Science
ALNet: Towards Real-Time and Accurate Maize Row Detection via Anchor-Line Network
Provisionally accepted- 1College of Engineering, South China Agricultural University, Guangzhou, China
- 2Beijing Jiaotong University School of Traffic and Transportation, Beijing, China
- 3Department of Computer and Information Science, University of Macau, Macau, China
- 4College Of Water Conservancy and Civil Engineering, South China Agricultural University, Guangzhou, China
- 5Guangdong Engineering Technology Research Center of Rice Transplanting Mechanical Equipment,, Guangzhou, China
- 6State Key Laboratory of Agricultural Equipment Technology, Guangzhou, China
- 7University of Manitoba Department of Biosystems Engineering, Winnipeg, Canada
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Accurate and efficient crop row detection is essential for the visual navigation of agricultural machinery. However, existing deep learning–based methods often suffer from high computational costs, limited deployment capability on edge devices, and difficulty in maintaining both accuracy and speed. This study presents ALNet (Anchor-Line Network), a lightweight convolutional neural network tailored to the elongated geometry of maize rows. ALNet introduces an Anchor-Line mechanism to reformulate row detection as an end-to-end regression task, replacing pixel-wise convolutions with row-aligned kernel operations to reduce computation while preserving geometric continuity. An Attention-guided ROI Align module equipped with a Dual-Axis Extrusion Transformer (DAE-Former) is incorporated to capture global–local feature interactions and enhance robustness under challenging field conditions such as weed infestation, low light, and wind distortion. In addition, a Row IoU (RIoU) loss is designed to improve localization accuracy by aligning predicted and ground-truth row geometries more effectively. Experimental results on field-acquired maize datasets demonstrate that ALNet achieves an mF1 of 59.60 across IoU thresholds (≥9.24 points higher than competing methods) and an inference speed of 161.26 FPS, with a computational cost of only 11.9 GFlops, demonstrating potential for real-time edge deployment. These advances establish ALNet as a practical and scalable solution for intelligent visual navigation in precision agriculture.
Keywords: Corn row detection, Anchor-Line, Attention-guided ROI Align, Dual-Axis Extrusion Transformer, precision agriculture
Received: 16 Sep 2025; Accepted: 17 Nov 2025.
Copyright: © 2025 Ma, Feng, He, Hu, Cai, Luo, Shen, Zhang and Qi. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence:
Ruijun Ma, ruijunma@scau.edu.cn
Long Qi, qilong@scau.edu.cn
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.
