CFP last date
21 July 2025
Reseach Article

Real Time Detection of Hand Carried Weapons for Kidnapping Mitigation in Nigeria: A YOLOv5–Faster R CNN Hybrid Approach

by Abas Aliu, Ikharo A. Braimoh, Mankinde Ayodeji Samuel, Obeten Okoi Michael
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 187 - Number 14
Year of Publication: 2025
Authors: Abas Aliu, Ikharo A. Braimoh, Mankinde Ayodeji Samuel, Obeten Okoi Michael
10.5120/ijca2025925295

Abas Aliu, Ikharo A. Braimoh, Mankinde Ayodeji Samuel, Obeten Okoi Michael . Real Time Detection of Hand Carried Weapons for Kidnapping Mitigation in Nigeria: A YOLOv5–Faster R CNN Hybrid Approach. International Journal of Computer Applications. 187, 14 ( Jun 2025), 14-21. DOI=10.5120/ijca2025925295

@article{ 10.5120/ijca2025925295,
author = { Abas Aliu, Ikharo A. Braimoh, Mankinde Ayodeji Samuel, Obeten Okoi Michael },
title = { Real Time Detection of Hand Carried Weapons for Kidnapping Mitigation in Nigeria: A YOLOv5–Faster R CNN Hybrid Approach },
journal = { International Journal of Computer Applications },
issue_date = { Jun 2025 },
volume = { 187 },
number = { 14 },
month = { Jun },
year = { 2025 },
issn = { 0975-8887 },
pages = { 14-21 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume187/number14/real-time-detection-of-hand-carried-weapons-for-kidnapping-mitigation-in-nigeria-a-yolov5faster-r-cnn-hybrid-approach/ },
doi = { 10.5120/ijca2025925295 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2025-06-21T01:57:11.107403+05:30
%A Abas Aliu
%A Ikharo A. Braimoh
%A Mankinde Ayodeji Samuel
%A Obeten Okoi Michael
%T Real Time Detection of Hand Carried Weapons for Kidnapping Mitigation in Nigeria: A YOLOv5–Faster R CNN Hybrid Approach
%J International Journal of Computer Applications
%@ 0975-8887
%V 187
%N 14
%P 14-21
%D 2025
%I Foundation of Computer Science (FCS), NY, USA
Abstract

Kidnapping for ransom continues to pose a significant security threat in Nigeria, and the rapid identification of hand-carried weapons in surveillance footage could offer early warnings to law enforcement agencies. This study presents a computationally efficient two-stage vision pipeline that integrates the speed of You Only Look Once (YOLOv5s) with the localization capability of a Faster RCNN (ResNet50FPN) to detect knives and related weapons in real time. The system is evaluated in a zero-shot manner, utilizing off-the-shelf Common Objects in Context (COCO) weights without any domain-specific fine-tuning on the 928-image Sohas weapon dataset. Experimental results indicate that the hybrid cascade achieves image-level coverage of 99.6% and processes a frame in 0.19 seconds on a single Tesla T4 GPU (approximately 5 fps), meeting the latency requirements of typical Nigerian Closed-Circuit Television (CCTV) deployments. However, the detection accuracy was modest: the mean Average Precision was 0.0019 at IoU 0.50 and 0.0168 at IoU 0.30, indicating that localization error is the predominant failure mode. When compared with recent fine-tuned models that report mAP ≈ 0.65–0.75 on weapon-specific datasets, the zero-shot baseline quantifies the performance gap attributable to the domain shift. Qualitative analysis further identified the small-object scale, metallic false positives, and class imbalance as major sources of error. The presented code, pretrained weights, and evaluation logs were released to provide an open, reproducible benchmark for subsequent research. By establishing both the feasibility of real-time inference on commodity hardware and the limitations of generic weights, this work lays the foundation for future, domain-adapted systems aimed at mitigating kidnapping incidents in Nigeria through automated weapon detection.

References
  1. Shuaibu M, Okonjo E, Ijeoma T, Yakubu A. Nigeria Crime Statistics Annual Report 2024. Abuja: National Bureau of Statistics; 2024.
  2. Aderinto S, Emeka J, Abubakar L. Geographies of Violence: Regional Dynamics of Kidnapping in Nigeria. Ibadan: Institute for Security Studies; 2025.
  3. Nasirudeen T, Olatunji F, Eze A. Kidnap Epidemics and Roadway Insecurity in Nigeria’s Urban Periphery. J Afr Crim Justice Stud. 2024;12(1):45–63.
  4. Ajiboye K. Weaponized Abductions and the Limits of Patrol Policing in Northern Nigeria. Niger Secur J. 2025;9(2):101–15.
  5. Punch Editorial Board. Lagos to Install 13,000 Smart Cameras under Safe City Project. Punch [Internet]. 2021 Oct 18 [cited 2025 Jun 16]; Available from: https://punchng.com/lagos-to-install-13000-smart-cameras-under-safe-city-project/
  6. Ren S, He K, Girshick R, Sun J. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. IEEE Trans Pattern Anal Mach Intell. 2016;39(6):1137–49.
  7. Ren S, He K, Girshick R, Zhang X, Sun J. Object Detection with Deep Learning: A Review. IEEE Trans Neural Netw Learn Syst. 2016;27(3):589–607.
  8. Thakur A, Mahajan R, Bansal S, Gupta V. Comparative Performance of YOLO Architectures in Small Weapon Detection. Comput Vis Intell Syst. 2024;8(1):77–88.
  9. Vijayakumar P, Suresh K, Rajan A. Hybrid Deep Learning Models for Small Weapon Detection in Public Surveillance. Int J Comput Vis Appl. 2023;11(2):134–46.
  10. Santos D, Oliveira B, Marinho M, Costa J. A Review of Deep Learning Approaches for Weapon Detection in Surveillance Systems. Sensors (Basel). 2024;24(3):711.
  11. Ren S, He K, Girshick R, Sun J. Faster R-CNN: Towards real-time object detection with region proposal networks. Adv Neural Inf Process Syst. 2015;28.
  12. Ingle R, Kim J. Comparative analysis of object detectors on handgun and knife benchmarks. Pattern Recognit Lett. 2022; 154:45–52.
  13. Torregrosa-Domínguez J, Castillo C, Hernández A. Knife detection using cascaded YOLOv4 and Faster R-CNN on consumer hardware. Sensors (Basel). 2024;24(2):591.
  14. Pérez-Hernández J, Ruiz-Santaquiteria J, Martínez R, Sánchez A. Reducing false positives in handgun detection using two-stage YOLO verification. Comput Vis Image Underst. 2020; 198:102956.
  15. Olmos R, Tabik S, Herrera F. Automatic handgun detection alarm in videos using deep learning. Neurocomputing. 2018; 275:66–72.
  16. Gu Y, Fang Y, Wu Z. Synthetic weapon image datasets for deep learning: Knife 9k and Gun 10k. Multimedia Tools Appl. 2022;81:28795–811.
  17. Khalfaoui R, Ben Aoun B, Belghith S. WEP-CNN: A real-world weapon detection dataset from CCTV and body-worn camera footage. IEEE Access. 2024; 12:40519–30.
  18. Lan M, Gao F, Qian P. Weapon detection in surveillance videos: A benchmark dataset and baseline. Multimed Syst. 2019; 25:645–54.
  19. Setty S, George S, Ramesh R. IMFDB: A firearm detection benchmark from movies. Proc IEEE Conf Comput Vis Pattern Recognit Workshops. 2013; 1:572–8.
  20. Gómez García F, Hernández M, Ramos D. Thermal imaging for concealed handgun detection. Infrared Phys Technol. 2025; 132:104785.
  21. Chen Z, Xu K, Li Q. Multimodal fusion of millimetre wave and RGB for concealed weapon detection. IEEE Sens J. 2024;24(1):1101–9.
  22. Apene K, Ayeni O, Usman R. Real-time crime detection in Nigerian cities using YOLOv5 on edge cloud devices. J Real-Time Image Process. 2024; 21:219–32.
  23. Ijaz M, Rahim S, Siddiqi MH, Javaid N. Two-level verification for weapon detection in real-world scenes. Pattern Recognit Lett. 2025; 169:12–20.
  24. Salido MA, López M, Romero D, García N. Human pose–aware filtering for reducing false alarms in weapon detection. Multimed Tools Appl. 2021;80(6):9395–416.
  25. Jocher G, Chaurasia A, Qiu J, Stoken A. YOLOv5 by Ultralytics. GitHub repository. 2021. Available from: https://github.com/ultralytics/yolov5
  26. He K, Gkioxari G, Dollár P, Girshick R. Mask R-CNN. Proc IEEE Int Conf Comput Vis. 2017;2961–69.
  27. Ahmed R, Uddin M, Mahmood T. Performance evaluation of YOLOv4 on multi-class knife datasets. IEEE Access. 2022; 10:45930–9.
  28. Lin TY, Goyal P, Girshick R, He K, Dollár P. Focal loss for dense object detection. Proc IEEE Int Conf Comput Vis. 2017;2980–88.
  29. Santos E, Dike B, Yusuf A. Real-time hybrid surveillance assistance using cloud-deployed two-stage models. J Comput Vis Appl. 2024;18(2):87–97.
Index Terms

Computer Science
Information Sciences

Keywords

Hand Carried Weapons Detection Kidnapping Mitigation Nigeria real time surveillance YOLOv5 Faster R CNN Hybrid Detector Zero Shot Baseline