Lightweight and accurate aphid detection model based on an improved deep-learning network

Rapid and accurate detection of bamboo aphids can help prevent large-scale aphid infestations from occurring, which is of great significance for increasing bamboo shoot production and economic benefits. Herein, a lightweight and accurate model, SCA-YOLOv5s, was established by integrating ShuffleNetv...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:Ecological informatics 2024-11, Vol.83, p.102794, Article 102794
Hauptverfasser: Sun, Weihai, Li, Yane, Feng, Hailin, Weng, Xiang, Ruan, Yaoping, Fang, Kai, Huang, Leijun
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Rapid and accurate detection of bamboo aphids can help prevent large-scale aphid infestations from occurring, which is of great significance for increasing bamboo shoot production and economic benefits. Herein, a lightweight and accurate model, SCA-YOLOv5s, was established by integrating ShuffleNetv2 and Coordinate Attention with the YOLOv5s model to detect Takecallis taiwanus on the yellow sticky traps. Specifically, we first replaced the backbone network of YOLOv5s with ShuffleNetv2 to reduce the number of parameters and computational complexity of the model. Second, an anchor optimization method was proposed by combining linear scaling and k-means algorithm to generate appropriate anchor boxes for detecting small-sized alate aphids. Third, the coordinate attention mechanism was added to the neck network to improve the feature extraction ability. To verify the performance of the proposed SCA-YOLOv5s model, eight detection models were constructed with existing deep learning methods, including SSD300, YOLOv3, Faster R-CNN, YOLOv4, YOLOv4-Tiny, YOLOX-Tiny, YOLOv7-Tiny, and YOLOv5s. Results reveal that the SCA-YOLOv5s model achieved higher detection accuracy than the other eight models. Its mean average precision reached 92.2 %. The proposed model has a size of only 6.7 MB, its floating-point operations (FLOPs) is 7.4 × 109, its inference time is 6.6 ms, and compared with YOLOv5s, it is 53.47 % smaller in model size, 55.15 % lower in FLOPs, and 0.8 ms faster in inference time. The results indicate that the proposed model can maintain high detection accuracy while minimizing computation and inference time, which is crucial for deployment in remote areas with low information technology. This study provides valuable technical support for the control of aphids in bamboo forests. •We developed the lightweight object-detection model SCA-YOLOv5s to detect Takecallis taiwanus on yellow sticky traps.•ShuffleNetv2, anchor optimization algorithm, and coordinate attention were introduced to the new model.•At an inference time of 6.6 ms, the proposed model achieved precision, recall, and mAP of 90.4 %, 91.7 %, and 92.2 %, respectively, outperforming the existing mainstream models.•Compared with YOLOv5s, SCA-YOLOv5s reduced the model size, FLOPs, and inference time by 53.47 %, 55.15 %, and 10.81 %, respectively.•SCA-YOLOv5s is more suitable for edge devices, which can better serve areas with low information technology.
ISSN:1574-9541
DOI:10.1016/j.ecoinf.2024.102794