Abstract:Aiming to address the trunk detection challenge in inter-row navigation within complex orchard environments, a hierarchical detection method for central-leader training fruit tree trunks was proposed based on multi-layer light detection and ranging (LiDAR). A 16-layer VLP-16 LiDAR was employed to collect orchard point cloud data around the vehicle, and a two-step hierarchical trunk detection approach, i.e., object segmentation followed by trunk identification was adopted to eliminate non-trunk objects and improve detection accuracy. Firstly, an annular region of interest (ROI) was defined, and a ground fitting algorithm was applied to remove ground point clouds, disrupting the connectivity between object point clouds in the orchard. Secondly, a rectangular ROI was set, and the density-based spatial clustering of applications with noise (DBSCAN) algorithm was used for xOy plane clustering of non-ground point clouds. Hyperparameters of the DBSCAN algorithm were configured based on LiDAR measurement resolution and orchard object parameters, splitting non-ground point clouds into multiple object clusters. Thirdly, geometric and intensity features of object clusters were extracted at both global and local scales to characterize the differences between trunks and other orchard objects. Finally, a pre-trained trunk detector fused these features to classify object clusters into trunk and non-trunk categories, outputting trunk clusters. For the trunk detection step, the random forest (RF) algorithm was utilized for offline feature selection and fusion. Using trunk and non-trunk training samples, feature importance was evaluated based on changes in the Gini index (GI), and 22 highly discriminative features were selected from the initial feature set to construct the trunk detector. Experiments were conducted in a standardized walnut orchard, where 1317 frames of point cloud data were collected, yielding 12213 segmented object clusters. Non-trunk objects, including crowns, weeds, support poles, fences, slopes, farm tools, and pedestrians, accounting for 58.04% of the total clusters. The object clusters were randomly divided into training and test sets at a ratio of 1∶4. Test results showed a trunk detection precision of 99.16%, recall of 99.21%, and F1-score of 99.19%, with an average frame processing time of 85.25ms for hierarchical trunk detection. This method enabled fast and accurate trunk detection in complex orchard scenarios, meeting the accuracy and real-time requirements of trunk detection for orchard inter-row navigation.