Abstract:Field robots are a current research hotspot, and machine vision navigation has emerged as a key development direction for fully autonomous field navigation in agricultural robots due to its low cost and reliable performance. Among machine vision navigation line extraction methods, graphics-based approaches suffer from poor applicability, low accuracy, and susceptibility to noise interference. Object detection-based methods face challenges in crop overlap recognition, while semantic segmentation-based methods exhibit slow detection speeds, poor real-time performance, and frequent crop row omission. To address these challenges, focusing on visual navigation for corn field weeding robots, an experimental approach was proposed by using the lightweight corn row instance segmentation (LCR-IS) algorithm for corn row detection. The model integrated a lightweight backbone network and incorporated the C2f-EEMA (C2f edge EMA module) edge attention fusion module to enhance feature fusion capabilities. Simultaneously, it employed a parameter sharing mechanism and the principle of reparameterization combined with an integrated convolutional module (Conv_GN) to design the lightweight instance segmentation detection head (Rep shared-convolutional segmentation head, RSCS). After extracting crop rows using the LCR-IS model, the center positions were determined via minimum Euclidean distance. Finally, the centerlines were fitted as navigation lines by using least squares. The model achieved an F1 score of 95.3% and an average intersection-over-union (IoU) of 86.1%. The extracted predicted navigation lines exhibited an average angular error of only 1.17° and a distance error of 6.10 pixel compared with actual navigation lines, outperforming navigation line extraction methods based on YOLO v8-seg, ESNet, VGG-UNet, Mobile-UNet, and Mobile-DeeplabV3+. The LCR-IS model achieved an inference speed of 18.6 f/s on the Jetson Nano edge device and enabled relatively accurate navigation line extraction without requiring high-precision data annotation. The research results met the practical needs of automated corn field weeding robots and held significant application potential in the field of real-time visual navigation for agricultural robots.