Turkish Journal of Agriculture and Forestry
Abstract
Small millets are traditional and climate-resilient food crops that can grow in adverse weather conditions. Animal intrusion, specifically from wild boars, is a main threat to the production of small millets, which reduces interest in the cultivation of small millets and affects farmers’ incomes. To address the problem of wild boar attack on agriculture land, an improved YOLOv8 is proposed, with an attention module based on WBD-YOLO-AM and that works from the collection of data, its preprocessing, attention mechanism to improve the feature maps, training then building the model, after that the models hyperparameter are tuned to boost the performance of the model and it outperforms the state-of-the-art approaches and achieves the impressive rate of 97.1% precision, 96.2% recall and 98.2% mAP. After attaining ideal results, a Raspberry Pi (Raspberry Pi Foundation, Cambridge, UK) equipped with a camera records wild boar images in real time. The Raspberry Pi is further attached to a speaker that emits ultrasonic sound to deter off wild boar. After training, the enhanced YOLOv8 model is installed on a Raspberry Pi for software integration. It can detect wild boars with accuracy and plays a deterrent sound, a Raspberry Pi and a GSM module is used to send an alarm. The importance of this research lies in its potential to protect agricultural land from wild boar damage without causing any human-wild life conflict.
Author ORCID Identifier
ADITYA JOSHI: 0000-0002-2597-8123
NEHA PANDEY: 0000-0002-8584-0265
MANOJ DIWAKAR: 0000-0002-4435-675X
PRABHISHEK SINGH: 0000-0002-9338-0932
ACHYUT SHANKAR: 0000-0003-3165-3293
FAYEZ ALQAHTANI: 0000-0001-8972-5953
DOI
10.55730/1300-011X.3303
Keywords
Object detection, wild boar detection, YOLOv8, deep learning, Internet of Things
First Page
769
Last Page
786
Publisher
The Scientific and Technological Research Council of Türkiye (TÜBİTAK)
Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.
Recommended Citation
JOSHI, A, PANDEY, N, DIWAKAR, M, SINGH, P, SHANKAR, A, & ALQAHTANI, F (2025). WBD-YOLO-AM: YOLOv8 with attention module and IoT-based wild boar detection and deterrence system for safeguarding small millets. Turkish Journal of Agriculture and Forestry 49 (4): 769-786. https://doi.org/10.55730/1300-011X.3303