Research on a Method for Identifying and Localizing Goji Berries Based on Binocular Stereo Vision Technology
Abstract
To address the issue of low depth estimation accuracy in complex goji berry orchards, this paper proposes a method for identifying and locating goji berries that combines the YOLO-VitBiS object detection network with stereo vision technology. Based on the YOLO11n backbone network, the C3K2 module in the backbone is first improved using the AdditiveBlock module to enhance its detail-capturing capability in complex environments. The AdditiveBlock introduces lightweight long-range interactions via residual additive operations, thereby strengthening global context modeling without significantly increasing computation. Subsequently, a weighted bidirectional feature pyramid network is introduced into the Neck to enable more flexible and efficient feature fusion. Finally, a lightweight shared detail-enhanced detection head is proposed to further reduce the network’s computational complexity and parameter count. The enhanced model is integrated with binocular stereo vision technology, employing the CREStereo depth estimation algorithm for disparity calculation during binocular stereo matching to derive the three-dimensional spatial coordinates of the goji berry target. This approach enables efficient and precise positioning. Experimental results demonstrate that the YOLO-VitBiS model achieves a detection accuracy of 96.6%, with a model size of 4.3MB and only 1.856M parameters. Compared to the traditional SGBM method and other deep learning approaches such as UniMatch, the CREStereo algorithm generates superior depth maps under complex conditions. Within a distance range of 400 mm to 1000 mm, the average relative error between the estimated and actual depth measurements is 2.42%, meeting the detection and ranging accuracy requirements for field operations and providing reliable recognition and localization support for subsequent goji berry harvesting robots.
Fields of Study & Subjects
Smart Agriculture and AI
Remote Sensing in Agriculture
Spectroscopy and Chemometric Analyses
Publication details
- Journal / source
- AgriEngineering
- Publisher
- MDPI AG
- Volume
- 8
- Issue
- 1
- Pages
- 6–6
- Publication date
- 1 January 2026
- Language
- EN