Weapon detection with FMR-CNN and YOLOv8 for enhanced crime prevention and security

Abstract In modern days, increasing weapon-related threats in public places have created an immediate need for intelligent surveillance systems to detect crime in real-time. Traditional surveillance systems have struggles with recognizing small objects, occlusion, and the time it takes to respond, w...

Full description

Saved in:
Bibliographic Details
Main Authors: Shanthi P, Manjula V
Format: Article
Language:English
Published: Nature Portfolio 2025-07-01
Series:Scientific Reports
Subjects:
Online Access:https://doi.org/10.1038/s41598-025-07782-0
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849387821093093376
author Shanthi P
Manjula V
author_facet Shanthi P
Manjula V
author_sort Shanthi P
collection DOAJ
description Abstract In modern days, increasing weapon-related threats in public places have created an immediate need for intelligent surveillance systems to detect crime in real-time. Traditional surveillance systems have struggles with recognizing small objects, occlusion, and the time it takes to respond, which makes them ineffective in crowded and fast-changing situations. To overcome these challenges, the suggested system combines closed-circuit television (CCTV) surveillance cameras with advanced deep learning methods, image processing, and computer vision techniques for real-time crime prediction and prevention. This study proposes a hybrid deep learning framework that merges a Faster region convolutional neural network and Mask Region Convolutional Neural Network, named FMR-CNN. The novel approach FMR-CNN represents a significant advancement towards improving object recognition and segmentation of images and videos. It has been combined with YOLOv8 to increase the real-time detection speed and localization accuracy significantly. Such a combination enables the concurrent utilization of high-resolution spatial context information and rapid frame-wise predictions, thus making it well-suited for continuous video surveillance tasks. The model was trained and tested on a five labeled class annotated dataset, where MobileNetV3 features are extracted to simulate real-world surveillance conditions. Experimental results show the hybrid model attains detection accuracy of 98.7%, average precision (AP) of 90.1, and speed of 9.2 frames per second (FPS), and generalizes to varied lighting, occlusion, object scales, and reduced computational complexity, making it highly effective for crime prevention. Using these models benefits police departments and law enforcement agencies, as it allows them to detect criminal offenses earlier and avoid untoward situations.
format Article
id doaj-art-11b421f14b8745f9bf8f6f25c4ddf16b
institution Kabale University
issn 2045-2322
language English
publishDate 2025-07-01
publisher Nature Portfolio
record_format Article
series Scientific Reports
spelling doaj-art-11b421f14b8745f9bf8f6f25c4ddf16b2025-08-20T03:42:29ZengNature PortfolioScientific Reports2045-23222025-07-0115112510.1038/s41598-025-07782-0Weapon detection with FMR-CNN and YOLOv8 for enhanced crime prevention and securityShanthi P0Manjula V1School of Computer Science and Engineering, Vellore Institute of TechnologySchool of Computer Science and Engineering, Vellore Institute of TechnologyAbstract In modern days, increasing weapon-related threats in public places have created an immediate need for intelligent surveillance systems to detect crime in real-time. Traditional surveillance systems have struggles with recognizing small objects, occlusion, and the time it takes to respond, which makes them ineffective in crowded and fast-changing situations. To overcome these challenges, the suggested system combines closed-circuit television (CCTV) surveillance cameras with advanced deep learning methods, image processing, and computer vision techniques for real-time crime prediction and prevention. This study proposes a hybrid deep learning framework that merges a Faster region convolutional neural network and Mask Region Convolutional Neural Network, named FMR-CNN. The novel approach FMR-CNN represents a significant advancement towards improving object recognition and segmentation of images and videos. It has been combined with YOLOv8 to increase the real-time detection speed and localization accuracy significantly. Such a combination enables the concurrent utilization of high-resolution spatial context information and rapid frame-wise predictions, thus making it well-suited for continuous video surveillance tasks. The model was trained and tested on a five labeled class annotated dataset, where MobileNetV3 features are extracted to simulate real-world surveillance conditions. Experimental results show the hybrid model attains detection accuracy of 98.7%, average precision (AP) of 90.1, and speed of 9.2 frames per second (FPS), and generalizes to varied lighting, occlusion, object scales, and reduced computational complexity, making it highly effective for crime prevention. Using these models benefits police departments and law enforcement agencies, as it allows them to detect criminal offenses earlier and avoid untoward situations.https://doi.org/10.1038/s41598-025-07782-0Closed-circuit television (CCTV)Computer visionDeep learningFaster region convolutional neural network (Faster-RCNN)Mask region convolutional neural network (Mask-RCNN)You only look once (YOLO)
spellingShingle Shanthi P
Manjula V
Weapon detection with FMR-CNN and YOLOv8 for enhanced crime prevention and security
Scientific Reports
Closed-circuit television (CCTV)
Computer vision
Deep learning
Faster region convolutional neural network (Faster-RCNN)
Mask region convolutional neural network (Mask-RCNN)
You only look once (YOLO)
title Weapon detection with FMR-CNN and YOLOv8 for enhanced crime prevention and security
title_full Weapon detection with FMR-CNN and YOLOv8 for enhanced crime prevention and security
title_fullStr Weapon detection with FMR-CNN and YOLOv8 for enhanced crime prevention and security
title_full_unstemmed Weapon detection with FMR-CNN and YOLOv8 for enhanced crime prevention and security
title_short Weapon detection with FMR-CNN and YOLOv8 for enhanced crime prevention and security
title_sort weapon detection with fmr cnn and yolov8 for enhanced crime prevention and security
topic Closed-circuit television (CCTV)
Computer vision
Deep learning
Faster region convolutional neural network (Faster-RCNN)
Mask region convolutional neural network (Mask-RCNN)
You only look once (YOLO)
url https://doi.org/10.1038/s41598-025-07782-0
work_keys_str_mv AT shanthip weapondetectionwithfmrcnnandyolov8forenhancedcrimepreventionandsecurity
AT manjulav weapondetectionwithfmrcnnandyolov8forenhancedcrimepreventionandsecurity