
Journal of Smart Sensors and Computing

A multidisciplinary, peer-reviewed, quarterly, open-access journal dedicated to advancing research and innovation in sensor technologies and computational methods.
Real-Time Wildlife Intrusion Detection System Using IoT and YOLOv8
J. Smart Sens. Comput., 2025, 1(2), 25209 https://doi.org/10.64189/ssc.25209
Received: 08 July 2025 | Revised: 02 September 2025 | Accepted: 10 September 2025
Cite article
A. Patkar, P. Hole, L. Salvi, Real-time wildlife intrusion detection system using IoT and YOLOv8, Journal of Smart Sensors and Computing, 2025, 1(2), 25209, doi: . https://doi.org/10.64189/ssc.25209
Rights and permissions
(c) The Author(s) 2025.

Open Access
This article is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License, which permits the non-commercial use, sharing, adaptation, distribution and reproduction in any medium or format, as long as appropriate credit is given and changes are indicated. https://creativecommons.org/licenses/by-nc/4.0/
Abstract
Human–wildlife conflict in agricultural areas leads to significant crop losses and livestock threats, creating an urgent need for reliable real-time detection systems. This study presents the Wildlife Intrusion Detection System (WIDS), a novel IoT-enabled solution designed to mitigate such risks. The system integrates PIR motion sensors, a Raspberry Pi computing unit, and a custom-trained YOLOv8n object detection model for robust wildlife identification, with Twilio SMS alerts ensuring rapid farmer response. A strategically deployed sensor network captures activity along the farm perimeter, while the Raspberry Pi executes YOLOv8n inference for accurate classification. A dataset comprising diverse animal images under varying conditions (day/night, weather, and motion speeds) was curated for training and testing. The system achieved 80–85% detection accuracy, with evaluation metrics of precision (0.84), recall (0.82), F1-score (0.83), mean Average Precision (mAP) (0.85), and average inference latency of 0.6 s per frame. These results highlight the system's robustness under real-world field conditions, making it suitable for practical deployment. The proposed WIDS significantly enhances farm security, minimizes agricultural losses, and demonstrates the potential of IoT and deep learning integration for sustainable agriculture and wildlife management.
Graphical Abstract

Novelty Statement
By leveraging modern technologies such as Raspberry Pi, PIR motion sensors and machine learning algorithms, this proposed system provides a robust and efficient solution for detecting and deterring wild animals from entering farms.

