The extraction of navigation lines is a crucial aspect in the field autopilot system for intelligent agricultural equipment. Given that soybean seedlings are small, and straw can be found in certain Northeast China soybean fields, accurately obtaining feature points and extracting navigation lines during the soybean seedling stage poses numerous challenges. To solve the above problems, this paper proposes a method of extracting navigation lines based on the average coordinate feature points of pixel points in the bean seedling belt according to the calculation of the average coordinate. In this study, the soybean seedling was chosen as the research subject, and the Hue, Saturation, Value (HSV) colour model was employed in conjunction with the maximum interclass variance (OTSU) method for RGB image segmentation. To extract soybean seedling bands, a novel approach of framing binarised image contours by drawing external rectangles and calculating average coordinates of white pixel points as feature points was proposed. The feature points were normalised, and then the improved adaptive DBSCAN clustering method was used to cluster the feature points. The least squares method was used to fit the centre line of the crops and the navigation line, and the results showed that the average distance deviation and the average angle deviation of the proposed algorithm were 7.38 and 0.32. The fitted navigation line achieved an accuracy of 96.77%, meeting the requirements for extracting navigation lines in intelligent agricultural machinery equipment for soybean inter-row cultivation. This provides a theoretical foundation for realising automatic driving of intelligent agricultural machinery in the field.
Collecting crop growth data in field environments is crucial for breeding research. The team’s current autonomous soybean phenotyping system requires manual control to start and stop data collection. To address the aforementioned issues, this study innovatively proposes an elliptical calibration rotating geofencing technique. Preprocess coordinates using Z-scores and mean fitting perform global error calibration via weighted least squares, calculate the inclination angle between the row direction and the relative standard direction by fitting a straight line to the same row of data, and establish a rotation model based on geometric feature alignment. Results show that the system achieves an average response time of 0.115 s for geofence entry, with perfect accuracy and Recall rates of 1, meeting the requirements for starting and stopping geographic fencing in soybean ridge trial plots. This technology provides the critical theoretical foundation for enabling a dynamic, on-demand automatic start–stop functionality in smart data collection devices for soybean field trial zones within precision agriculture.