| Literature DB >> 35009602 |
Heqing Huang1,2, Tongbin Huang1,2, Zhen Li1,2,3,4, Shilei Lyu1,2,4, Tao Hong5.
Abstract
Citrus fruit detection can provide technical support for fine management and yield determination of citrus orchards. Accurate detection of citrus fruits in mountain orchards is challenging because of leaf occlusion and citrus fruit mutual occlusion of different fruits. This paper presents a citrus detection task that combines UAV data collection, AI embedded device, and target detection algorithm. The system used a small unmanned aerial vehicle equipped with a camera to take full-scale pictures of citrus trees; at the same time, we extended the state-of-the-art model target detection algorithm, added the attention mechanism and adaptive fusion feature method, improved the model's performance; to facilitate the deployment of the model, we used the pruning method to reduce the amount of model calculation and parameters. The improved target detection algorithm is ported to the edge computing end to detect the data collected by the unmanned aerial vehicle. The experiment was performed on the self-made citrus dataset, the detection accuracy was 93.32%, and the processing speed at the edge computing device was 180 ms/frame. This method is suitable for citrus detection tasks in the mountainous orchard environment, and it can help fruit growers to estimate their yield.Entities:
Keywords: UAV; citrus detection; edge computing devices; mobile operation platforms
Mesh:
Year: 2021 PMID: 35009602 PMCID: PMC8747137 DOI: 10.3390/s22010059
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1UAV device for taking citrus images. The citrus tree is about 2 m high. We used UAV to collect images in an all-round way at about 1 m around the fruit tree.
Figure 2Citrus image shooting and transmission process.
Figure 3Portable edge computing device with a small visual display, mobile power supply, camera, Jetson nano, and internal target detection model.
Figure 4The YOLOv5 model structure diagram. We used three data enhancement methods during training.
Figure 5CBAM architecture is shown in the figure, which is composed of two serial modules: channel attention and spatial attention.
Figure 6The CBAM model was added to each basic block, which integrates the output features immediately after the CSP bottleneck. Among them, Conv * 3 means that three convolution layers are superimposed together.
Figure 7The feature map output from the model is fused adaptively.
Figure 8Model pruning process, to ensure accuracy, the model used in this paper is optimized twice.
Model Ablation Experiment.
| Model | AP/% | Speed/ms | Recall/% |
|---|---|---|---|
| YOLOv5s | 91.03 | 270 | 87.13 |
| YOLOv5s + CBAM | 93.42 | 310 | 88.21 |
| YOLOv5s + CBAM + ASFF | 93.86 | 320 | 88.91 |
| YOLOv5s + CBAM + ASFF + Purning | 93.32 | 180 | 88.78 |
Model results of twice pruning.
| Model | Model Size/MB | AP/% |
|---|---|---|
| Original | 33 | 93.86 |
| First | 27 | 93.55 |
| Second | 21 | 93.32 |
Comparison of citrus fruit data sets with different occlusion degrees.
| Model | Dataset. A (AP/%) | Dataset. B (AP/%) |
|---|---|---|
| Original | 95.44 | 87.86 |
| Ours | 96.01 | 90.41 |
Model comparison experiment.
| Model | AP/% | FPS (In 2080ti)/s |
|---|---|---|
| FCOS | 90.76 | 47 |
| YOLOv3 | 91.21 | 69 |
| YOLOv4 | 91.97 | 73 |
| Ours | 93.32 | 83 |
Figure 9We visualized the detection effect of citrus fruits under different occlusion levels, In the figure, the words above all detected citrus fruits are "orange" and their confidence.