Optimized YOLOv8 for Insect Detection in Agricultural Farms Using Edge Vision Systems
Deebalakshmi R.1, Adhithyaa S.1, Yoga Vignesh V.1 & Balaji Ganesh Rajagopal1 Show affiliations
- School of Computing, SRM Institute of Science and Technology Tiruchirappalli, India
Journal of Computer Science, Volume 21, Issue 11, pp. 2745–2758 · doi.org/10.3844/jcssp.2025.2745.2758
Abstract
Farmers started to adopt smart gadgets like automated pest detection and kiosks for their work in light of the AI revolution in agriculture. These kinds of technologies help farmers identify pest infestations early, which allows the farmers to take action accordingly and prevent crop loss. This results in improvement in both yield and sustainability. However, running an advanced model such as YOLOv7 on low-power edge devices remains a challenge, especially in real time. To address the problem, our research brings an innovative Advanced Edge-Based Vision System designed for detecting small insects and classification in agricultural environments. The model built utilizes the Jetson Nano platform, TensorRT optimization, and an enhanced YOLOv8 model. To optimize the performance, the model uses compression techniques, such as INT8 quantization, and is accelerated by TensorRT. The YOLOv8 model is trained on a specialised insect dataset, and this optimization technique results in a tenfold reduction in memory usage, yet performs efficiently and also improves the inference speed using Jetson Nano by achieving a processing rate of 45 Frames Per Second (FPS). Despite these optimizations and memory reduction, the model serves at its best where the F1-scores exceeding 95% ensure accurate detection of the pest. This study demonstrates the successful deployment of lightweight, high-performance vision models on edge devices, enabling real-time, accurate pest detection. The findings contribute to advancing precision agriculture by making intelligent pest management more accessible and efficient.
Licence and reuse
Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.
How to reuse this articleResponses (0)
About this article
R., D., S., A., V., Y. V. & Rajagopal, B. G. (2025). Optimized YOLOv8 for Insect Detection in Agricultural Farms Using Edge Vision Systems. Journal of Computer Science, 21(11), 2745–2758. https://doi.org/10.3844/jcssp.2025.2745.2758
- Licence
- CC BY 4.0
- Issue
- Volume 21, Issue 11
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
