Research on Detection and Counting Method of Green Walnut Based on YOLOv8n-RBP
Authors:
Open Access
- 27 February 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 39275-39288
Abstract
In natural environments, green walnuts often experience occlusion by branches and leaves, fruit overlap, and varying lighting conditions. To address the issues of low detection accuracy, missed detections, and false positives in the YOLO model, this study proposes an improved YOLOv8n-based detection and counting model for green walnuts, named YOLOv8n-RBP. First, a receptive field-concentrated attention module (RFCBAM) is integrated into the backbone network to enhance feature extraction capabilities. Second, a BiFPN-GLSA module is introduced to replace the Path Aggregation Network (PANet) in the neck, improving the fusion of feature layers from the backbone and Neck networks and enhancing the model’s ability to capture both global and local spatial features. Lastly, to address the weak generalization and slow convergence issues of the CIoU loss function in detection tasks, the PIoUv2 loss function is employed to accelerate bounding box regression and improve detection performance. Experimental results demonstrate that the YOLOv8n-RBP model excels across multiple evaluation metrics. Specifically, the model achieves a mean average precision (mAP@0.5) of 82.2% and a recall rate of 72.4%, with a model size of only 4.65 MB, 2.2 million parameters, and 8.3 GFLOPs. Compared to the original YOLOv8n model, the recall rate and mAP@0.5 improve by 2.7% and 2.5%, respectively, while the number of parameters, FLOPs, and model size decrease by 26.7%, 0.6%, and 22.0%, respectively. Further deployment on the NVIDIA Jetson Xavier NX demonstrates the model’s robust performance under natural conditions, indicating its suitability for orchard operations.Keywords
Funding Information
- second batch of Tianshan Talent Cultivation Plan for Young Talent Support Project (2023TSYCQNTJ0040)
This publication has 31 references indexed in Scilit:
- A new chiller fault diagnosis method under the imbalanced data environment via combining an improved generative adversarial network with an enhanced deep extreme learning machineEngineering Applications of Artificial Intelligence, 2024
- Research on an intelligent pineapple pre-harvest anti-lodging method based on deep learning and machine visionComputers and Electronics in Agriculture, 2024
- Machine learning meets advanced robotic manipulationInformation Fusion, 2024
- DuAT: Dual-Aggregation Transformer Network for Medical Image Segmentation2023
- Experiment and analysis on walnut (Juglans regia L.) shedding force based on low-frequency vibration responseIndustrial Crops and Products, 2023
- Real-time tracking and counting of grape clusters in the field based on channel pruning with YOLOv5sComputers and Electronics in Agriculture, 2023
- Walnut fruit: Impact of ethylene assisted hulling on in vitro antioxidant activity, polyphenols, PUFAs, amino acids and sensory attributesFood Chemistry, 2022
- Recognition and counting of typical apple pests based on deep learningEcological Informatics, 2022
- Cotton yield estimation model based on machine learning using time series UAV remote sensing dataInternational Journal of Applied Earth Observation and Geoinformation, 2021
- PIoU Loss: Towards Accurate Oriented Object Detection in Complex Environments2020