Sustainability

Low-Cost YOLO-CBAM-Enabled Embedded System for Real-Time Tomato Pest Insect Detection and IoT-Based Monitoring

Mohamed Zarboubi, Maryam Koraichi, Samira Chabaa, Azzedine Dliou

Computational

Key points

From the paper's conclusion
  • This study proposes a low-cost, AI-enabled pest-counting device that integrates the YOLO-CBAM object detection framework with an embedded Raspberry Pi 4B platform.

Abstract

Effective pest monitoring is essential for safeguarding crop yield and quality, yet conventional methods often rely on manual inspection or costly commercial smart traps, which are inaccessible to many small- and medium-scale farmers. This study proposes a low-cost, AI-enabled pest-counting device that integrates the YOLO-CBAM object detection framework with an embedded Raspberry Pi 4B platform. The system captures images from pheromone traps, processes them locally, and transmits results to a Firebase IoT platform via cellular connectivity, enabling real-time remote monitoring without the need for Wi-Fi. The proposed YOLO-CBAM model was trained and evaluated on a custom dataset of tomato pests and benchmarked against YOLOv5-m, YOLOv8-m, and YOLOv12-m under identical conditions. Experimental results demonstrate that YOLO-CBAM achieved the highest overall detection performance, with a precision of 99.00%, recall of 99.33%, F1-score of 99.16%, mAP@0.5 of 98.02%, and mAP@0.5:0.95 of 91.56%, while maintaining competitive computational efficiency. Class-wise and qualitative analyses further demonstrate its strong capability to detect and distinguish multiple pest species under diverse visual conditions, including variable backgrounds, illumination changes, partial occlusions, and inter-class similarities. By combining high detection accuracy with affordability and portability, the proposed device offers a practical tool for Integrated Pest Management (IPM), supporting timely, data-driven, and more targeted pest-management interventions while reducing reliance on labor-intensive manual monitoring. This approach addresses a critical barrier to the adoption of precision pest monitoring and has strong potential for deployment in resource-limited agricultural settings.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers