Skip to content
Open access

Interpreting deep learning models for explainable animal detection using Grad-Cam with RetinaNet, SSD and YOLOv8

Jul 2026 · Discover Computing · Vol 29 · 0 citations · 28 references

TL;DR

YOLOv8(n) is the best model for integrated animal detection, enhancing wildlife conservation, lowering agricultural loss, and improving human safety through the integration of YOLOv8(n), Raspberry Pi 5 edge computing, and GSM-based connectivity.

Abstract

In rural and forest-bordering areas, human-wildlife conflict has escalated, resulting in substantial crop damage, property loss, and human mortality. Conventional mitigating solutions such as fencing, manual surveillance, and local alarms, have limited coverage, time taking and high operating costs. Automated real-time animal detection systems have become a practical for early warning and conflict avoidance due to recent upgrades in edge computing and deep learning particularly in distant locations without dependable internet access. In this study, embedded hardware and deep learning-based object detection are used to create a real-time wild animal detection and warning system. Roboflow was used to develop and enhance a dataset of 1,554 real-world photographs from seven classes (tiger, bear, elephant, lion, cheetah, leopard, and human) to 5,917 images. Using GPU acceleration, three object detection models YOLOv8(n)(n), SSD, and RetinaNet were trained on Google Colab and assessed using precision, recall, F1-score, and mean Average Precision (mAP). A GSM 900 A module is used to send SMS notification with no requirement of internet connectivity, and the optimized model was installed on a Raspberry Pi 5 with a Pi Camera for real-time inference. According to experimental data, YOLOv8(n) performs better than SSD and RetinaNet, with an mAP@50 84.4% and recall of 81% as opposed to SSD’s 62.3% precision and 58% recall and RetinaNet’s around 77% precision and 80% recall. Additionally, YOLOv8(n) showed improved robustness and quicker inference time across a range of background and lighting circumstances. While SSD and RetinaNet demonstrated weaker or scattered attention in complex situations, explainable AI analysis utilizing Grad-CAM and LIME verified greater and more concentrated activation on pertinent animal traits for YOLOv8(n). For real-time wildlife monitoring and early warning, the suggested system offers a precise, affordable, and scalable option. Through the integration of YOLOv8(n), Raspberry Pi 5 edge computing, and GSM-based connectivity, the system efficiently functions in distant settings and dramatically shortens reaction times during wildlife infiltration incidents. The findings demonstrate that YOLOv8(n) is the best model for integrated animal detection, enhancing wildlife conservation, lowering agricultural loss, and improving human safety.

Read PDF

Similar papers

: Faster R-CNN

This study focused on a precise and real-world object detection method for visually challenged persons, developing a novel Equilibrium Optimizer-based Real-Time Object Detection and Classification Framework to support VIP (EORTODCF-VIP).

Fouad Shoie, Alallah · 0 citations
Review Open access Aug 2026

Image-Based Road Damage Detection Using Deep Learning Models

An image-based road damage detection system built on deep learning models that automatically locate and classify damage from road surface images that outperforms MobileNet and the baseline CNN while still supporting near real-time inference.

M. S. Sungkar, A. Wenda · 0 citations
Open access Aug 2026

Faster R-CNN with Equilibrium Optimizer for Real-Time Object Detection and Classification Framework to Aid Visually Impaired People

In general, blind or Visually Impaired People (VIP) survive their lives in hardship, with the main challenge that they are incapable of living entirely independently. Object detection is a major contribution of computer vision and Machine Learning (ML) in the detection of objects in videos or images. Numerous research...

F. Alallah · 0 citations
Open access Sep 2026

Road Rockfall Detection by Integrating Feature Engineering with YOLO and Cascade Decision Fusion

A serial cascaded detection method that integrates an improved YOLO detector with machine-learning-based secondary verification is proposed, demonstrating that interpretable local features can effectively filter out false-positive YOLO candidates, thereby suppressing false alarms and improving overall discrimination pe...

Zhi-Qing Qin, Tao Niu, Cai-Jin Lu et al. · 0 citations
Preprint Sep 2026

Synthetic Thermal Image Generation for Real-Time Animal Detection Under Low-Visibility Conditions

Wildlife-vehicle collisions remain a significant road safety concern, particularly during nighttime and low-visibility conditions when RGB-based perception systems are often unreliable. Thermal imaging offers a promising alternative for detecting animals under poor illumination. However, the limited availability of ann...

James Momoh, Khandaker Mamun Ahmed · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.