Detection of Dense Citrus Fruits by Combining Coordinated Attention and Cross-Scale Connection with Weighted Feature Fusion
Source abstract
Abstract
The accuracy detection of individual citrus fruits in a citrus orchard environments is one of the key steps in realizing precision agriculture applications such as yield estimation, fruit thinning, and mechanical harvesting. This study proposes an improved object detection YOLOv5 model to achieve accurate the identification and counting of citrus fruits in an orchard environment. First, the latest visual attention mechanism coordinated attention module (CA) was inserted into an improved backbone network to focus on fruit-dense regions to recognize small target fruits. Second, an efficient two-way cross-scale connection and weighted feature fusion BiFPN in the neck network were used to replace the PANet multiscale feature fusion network, giving effective feature corresponding weights to fully fuse the high-level and bottom-level features. Finally, the varifocal loss function was used to calculate the model loss for better model training results. The results of the experiments on four varieties of citrus trees showed that our improved model proposed to this study could effectively identify dense small citrus fruits. Specifically, the recognized AP (average precision) reached 98.4%, and the average recognition time was 0.019 s per image. Compared with the original YOLOv5 (including deferent variants of n, s, m, l, and x), the increase in the average accuracy precision of the improved YOLOv5 ranged from 7.5% to 0.8% while maintaining similar average inference time. Four different citrus varieties were also tested to evaluate the generalization performance of the improved model. The method can be further used as a part in a vision system to provide technical support for the real-time and accurate detection of multiple fruit targets during mechanical picking in citrus orchards.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Smart Agriculture and AI · Spectroscopy and Chemometric Analyses · Date Palm Research Studies
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Guangxi Key Lab of Multisource Information Mining & Security, College of Computer Science & Engineering, Guangxi Normal University, Guilin 541004, China
Guangxi Citrus Breeding and Cultivation Engineering Technology Center, Guangxi Academy of Specialty Crops, Guilin 541004, China
Funding
National Natural Science Foundation of China · Science and Technology Foundation of Guangxi Province · Research Fund of Guangxi Key Lab of Multi-Source Information Mining & Security
References (36)
Show source-provided references
1. Deep learning–Method overview and review of use for fruit detection and yield estimation10.1016/j.compag.2019.04.017 ↗
2. TOWARDS A SECOND GREEN REVOLUTION10.1002/ird.2076 ↗
3. Human-robot interaction in agriculture: A survey and current challenges10.1016/j.biosystemseng.2018.12.005 ↗
4. Image Segmentation for Fruit Detection and Yield Estimation in Apple Orchards10.1002/rob.21699 ↗
5. Sensors and systems for fruit detection and localization: A review10.1016/j.compag.2015.05.021 ↗
6. Detection of citrus fruit and tree trunks in natural environments using a multi-elliptical boundary model10.1016/j.compind.2018.03.007 ↗
7. Comparison of convolutional neural networks in fruit detection and counting: A comprehensive evaluation10.1016/j.compag.2020.105348 ↗
8. Detecting citrus fruits and occlusion recovery under natural illumination conditions10.1016/j.compag.2014.10.016 ↗
9. Application of deep learning to cybersecurity: A survey10.1016/j.neucom.2019.02.056 ↗
10. Czimmermann, T., Ciuti, G., Milazzo, M., Chiurazzi, M., Roccella, S., Oddo, C.M., and Dario, P.J.S. (2020). Visual-based defect detection and classification approaches for industrial applications—A survey. Sensors, 20.10.3390/s20051459 ↗
11. An integrated algorithm for ego-vehicle and obstacles state estimation for autonomous driving10.1016/j.robot.2020.103662 ↗
12. Deep learning in agriculture: A survey10.1016/j.compag.2018.02.016 ↗
13. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks10.1109/TPAMI.2016.2577031 ↗
14. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27–30). You only look once: Unified, real-time object detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
15. Patel, N., Mukherjee, S., and Ying, L. (2018, January 24–26). Erel-net: A remedy for industrial bottle defect detection. Proceedings of the International Conference on Smart Multimedia, Toulon, France.10.1007/978-3-030-04375-9_39 ↗
16. Maize seedling detection under different growth stages and complex field environments based on an improved Faster R-CNN10.1016/j.biosystemseng.2019.05.002 ↗
17. A high-precision detection method of hydroponic lettuce seedlings status based on improved Faster RCNN10.1016/j.compag.2021.106054 ↗
18. Kuznetsova, A., Maleva, T., and Soloviev, V. (2020). Using YOLOv3 Algorithm with Pre- and Post-Processing for Apple Detection in Fruit-Harvesting Robot. Agronomy, 10.10.3390/agronomy10071016 ↗
19. Apple target recognition method in complex environment based on improved YOLOv410.1111/jfpe.13866 ↗
20. Canopy-attention-YOLOv4-based immature/mature apple fruit detection on dense-foliage tree architectures for early crop load estimation10.1016/j.compag.2022.106696 ↗
21. Detecting Citrus in Orchard Environment by Using Improved YOLOv4
22. Fast and accurate detection of kiwifruit in orchard using improved YOLOv3-tiny model10.1007/s11119-020-09754-y ↗
23. Gai, R., Chen, N., and Yuan, H. (2021). A detection algorithm for cherry fruits based on the improved YOLO-v4 model. Neural Comput. Appl.10.1007/s00521-021-06029-z ↗
24. Tomato detection based on modified YOLOv3 framework10.1038/s41598-021-81216-5 ↗
25. Lyu, S., Li, R., Zhao, Y., Li, Z., Fan, R., and Liu, S.J. (2022). Green Citrus Detection and Counting in Orchards Based on YOLOv5-CS and AI Edge System. Sensors, 22.10.3390/s22020576 ↗
26. Chen, S., Xiong, J., Jiao, J., Xie, Z., Huo, Z., and Hu, W.J. (2022). Citrus fruits maturity detection in natural environments based on convolutional neural networks and visual saliency map. Precis. Agric.10.1007/s11119-022-09895-2 ↗
27. Bochkovskiy, A., Wang, C.-Y., and Liao, H.-Y.M. (2020). Yolov4: Optimal speed and accuracy of object detection. arXiv.
28. Zou, Z., Shi, Z., Guo, Y., and Ye, J. (2019). Object detection in 20 years: A survey. arXiv.
29. Lin, T.-Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., and Zitnick, C.L. (2014, January 6–12). Microsoft coco: Common objects in context. Proceedings of the European Conference on Computer Vision, Zurich, Switzerland.10.1007/978-3-319-10602-1_48 ↗
30. Fukui, H., Hirakawa, T., Yamashita, T., and Fujiyoshi, H. (2019, January 15–20). Attention branch network: Learning of attention mechanism for visual explanation. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2019.01096 ↗
31. Lim, J.-S., Astrid, M., Yoon, H.-J., and Lee, S.-I. (2021, January 20–23). Small object detection using context and attention. Proceedings of the 2021 International Conference on Artificial Intelligence in Information and Communication (ICAIIC), Jeju Island, Korea.10.1109/ICAIIC51459.2021.9415217 ↗
32. Hou, Q., Zhou, D., and Feng, J. (2021, January 20–25). Coordinate attention for efficient mobile network design. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.01350 ↗
33. Tan, M., Pang, R., and Le, Q.V. (2020, January 13–19). Efficientdet: Scalable and efficient object detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.01079 ↗
34. Lin, T.-Y., Goyal, P., Girshick, R., He, K., and Dollár, P. (2017, January 22–29). Focal loss for dense object detection. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.324 ↗
35. Zhang, H., Wang, Y., Dayoub, F., and Sunderhauf, N. (2021, January 20–25). Varifocalnet: An iou-aware dense object detector. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.00841 ↗
36. Ni, J., Yan, Z., and Jiang, J.J. (2022). TongueCaps: An Improved Capsule Network Model for Multi-Classification of Tongue Color. Diagnostics, 12.10.3390/diagnostics12030653 ↗