4.6 Article

Green Citrus Detection and Counting in Orchards Based on YOLOv5-CS and AI Edge System

Journal

SENSORS
Volume 22, Issue 2, Pages -

Publisher

MDPI
DOI: 10.3390/s22020576

Keywords

green citrus; object detection; virtual region; YOLOv5-CS; AI edge system

Funding

  1. Guangdong Laboratory for Lingnan Modern Agriculture Project [NT2021009]
  2. Guangdong Natural Science Foundation [2021A1515010923]
  3. National Natural Science Foundation of China [31971797, 61601189]
  4. Special projects for key fields of colleges and universities in Guangdong Province [2020ZDZX3061]
  5. China Agriculture Research System of MOF [CARS-26]
  6. Subtopics of National Key R&D Program Projects [2020YFD1000107]
  7. China Agriculture Research System of MARA [CARS-26]

Ask authors/readers for more resources

This paper proposes a lightweight object detection model for accurately detecting and counting green citrus in citrus orchards. The model improves detection accuracy by introducing image rotation codes and convolutional block attention modules, and achieves better training effects using the CIoU loss function and cosine annealing algorithm. The model is deployed on an edge system, and accurate counting is achieved using scene segmentation methods, meeting the requirements of orchard management.
Green citrus detection in citrus orchards provides reliable support for production management chains, such as fruit thinning, sunburn prevention and yield estimation. In this paper, we proposed a lightweight object detection YOLOv5-CS (Citrus Sort) model to realize object detection and the accurate counting of green citrus in the natural environment. First, we employ image rotation codes to improve the generalization ability of the model. Second, in the backbone, a convolutional layer is replaced by a convolutional block attention module, and a detection layer is embedded to improve the detection accuracy of the little citrus. Third, both the loss function CIoU (Complete Intersection over Union) and cosine annealing algorithm are used to get the better training effect of the model. Finally, our model is migrated and deployed to the AI (Artificial Intelligence) edge system. Furthermore, we apply the scene segmentation method using the virtual region to achieve accurate counting of the green citrus, thereby forming an embedded system of green citrus counting by edge computing. The results show that the mAP@.5 of the YOLOv5-CS model for green citrus was 98.23%, and the recall is 97.66%. The inference speed of YOLOv5-CS detecting a picture on the server is 0.017 s, and the inference speed on Nvidia Jetson Xavier NX is 0.037 s. The detection and counting frame rate of the AI edge system-side counting system is 28 FPS, which meets the counting requirements of green citrus.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.6
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available