Crossref DOIMemberCiteFactoropen accessissn
SJIF Impact Factor 8.659 | ISSN: 2582-3930
IJSREM Logo

International Journal of Scientific Research in Engineering and Management

(Gateway to Global Scholars - An International, Scholarly, Multi-Disciplinary, Open Access Journal)

Peer-Reviewed Journal Designed to Meet UGC's Quality Parameters

HomeCurrent IssuePast IssuesPay OnlineConferencesEditorial BoardAbout UsContact Us
IJSREM

Loading article...

Follow Us

  • Google Scholar
  • ResearchGate
  • Academia.edu
  • Mendeley
  • LinkedIn
  • Facebook
  • Instagram

Journal Policies

  • Peer Review Policy
  • Publication Ethics
  • Copyright Infringement
  • Refund & Cancellation Policy
  • Terms and Conditions
  • Privacy Policy

Journal Identifiers & Licenses

  • ISSN Verified: 2582-3930ISSN Verified: 2582-3930
  • Crossref DOI: 10.55041Crossref DOI: 10.55041
  • SJIF Ranking: 08.659SJIF Ranking: 08.659
  • Licensed under CC BY 4.0Licensed under CC BY 4.0
  • ISO Certification: 9001:2015ISO Certification: 9001:2015
  • Indexed & Cited In: Google ScholarIndexed & Cited In: Google Scholar

Contact Us

International Journal of Scientific Research in Engineering and Management (IJSREM)

#62/1, New No 7, 1st Cross, 2nd Main, Ganganagar, R T Nagar, Bangalore North, Bangalore, Karnataka, India – 560032
[email protected]+91 93911 67991
logos
logos
Working Hours

Mon – Sat: 9:00 AM – 6:00 PM

Sunday: 10:00 AM – 4:00 PM

+91 93911 67991

© 2026 IJSREM – International Journal of Scientific Research in Engineering and Management. This is an open-access journal. Articles are published under the Creative Commons Attribution (CC BY 4.0) License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

DisclaimerPrivacy PolicyTerms and Conditions
ArticlePeer ReviewedOpen AccessPlagiarism Passed
Paper ID:IJSREM65845

Smart Security System Using Object Detection for Real-time Weapon Detection

Stream/Area:

-

Subject:

-

Paper ID:

IJSREM65845

Volume:

10 |

7 |

Jul 2026

Pages:

1-8

Publication Frequency:

Monthly (12 issues per year)

DOI
Digital Object Identifier
Not assigned

License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.

Share this article:

Authors

A. Nithya Sri

A. Nithya Sri

Department of Computer Science and Engineering

Vardhaman College of Engineering

Download Author Certificate
AGK

A. Gopi Krishna

Department of Computer Science and Engineering

Vardhaman College of Engineering

Download Co-Author Certificate
KN

K. Nithin

Department of Computer Science and Engineering

Vardhaman College of Engineering

Download Co-Author Certificate

Mentors

GKA

Gireesh K Agarwal

Department of Computer Science and Engineering

Vardhaman College of Engineering

Download Mentor Certificate

Author Services & Downloads

Full ArticlesAcceptance Certificate

Abstract

With the growing incidence of weapon-related violence in public spaces, there is an urgent need for intelligent, camera-based systems that can flag threats as they emerge rather than after harm has occurred. This work describes a Smart Security System built around YOLOv8, a modern anchor-free single-stage detector, trained to identify firearms, knives, and blunt weapons in live video streams. A comparative study involving three transfer-learning configurations was conducted: a completely frozen backbone (Model A), selective adaptation of the detection head and neck (Model B), and unrestricted optimization across all layers (Model C). System performance was measured using [email protected], precision, recall, F1-score, and per-frame inference time. To assess whether each model's decisions were genuinely grounded in weapon appearance, a Weapon Region Activation Ratio (WRAR) was computed from Grad-CAM heatmaps overlaid on annotated bounding boxes. Findings show a non-linear quality curve: selective head adaptation yields the best weapon recall at 96% and a WRAR of 0.88 on weapon frames, while full-backbone optimization, though marginally higher in mAP (0.901 vs. 0.883), causes the model's attention to collapse onto irrelevant background borders (WRAR dropping to 0.19). Statistical verification places this divergence well beyond the large-effect threshold (p < 0.001; Cohen's d ≈ 1.18). The study concludes that partial fine-tuning is the most appropriate strategy when both detection reliability and decision transparency are required for security deployment.

KEYWORDS

YOLOv8; weapon detection; real-time surveillance; transfer learning; object detection; Grad-CAM; WRAR; smart security system; shortcut learning; deep learning.

Cite This Article

A. Nithya Sri, A. Gopi Krishna, K. Nithin, Gireesh K Agarwal, "Smart Security System Using Object Detection for Real-time Weapon Detection," International Journal of Scientific Research in Engineering and Management, vol. 10, no. 7, pp. 1-8, Jul 2026.

Full Article/Conclusion

This paper examined how the scope of fine-tuning in a YOLOv8-based weapon detection system shapes both detection quality and the interpretability of model decisions. Three configurations — frozen backbone, selective head and neck adaptation, and full-parameter optimization — were compared on a curated weapon surveillance dataset using complementary detection and explainability metrics. The key finding is that composite quality — the product of accuracy and spatial transparency — peaks at the intermediate fine-tuning level. Selectively adapting the detection head and neck raises [email protected] from 0.821 to 0.883 and improves WRAR on clear frames from 0.35 to 0.67, while preserving weapon-frame WRAR at 0.88. Fully optimizing all layers pushes mAP slightly higher to 0.901 but drives WRAR on weapon frames down to 0.19, with Grad-CAM and SHAP maps converging on the same conclusion: the model has substituted image-border cues for weapon appearance in its decision process. This collapse is statistically robust (p < 0.001; Cohen's d ≈ 1.18). Selective fine-tuning emerges as the deployment-ready choice: [email protected] of 0.883, weapon recall of 96%, the lowest missed-detection count, and spatially coherent explanations that withstand operational audit. These results position fine-tuning depth as a substantive architectural variable in security AI design — one that governs not just benchmark scores but whether a deployed system can be responsibly explained, validated, and trusted. The smart security system successfully demonstrated that integrating deep learning-based object detection with real-time surveillance infrastructure provides an efficient, accurate, and scalable solution.

References

[1]     D. Bhatt, C. Patel, H. Ghetia, and P. J. Bhatt, "Weapon detection using deep learning: A review," in Proc. IEEE ICCIT, Dhaka, Bangladesh, 2021, pp. 1–6.   [2]  R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra, "Grad-CAM: Visual explanations from deep networks via gradient-based localization," in Proc. IEEE ICCV, Venice, Italy, 2017, pp. 618–626.   [3]  S. M. Lundberg and S.-I. Lee, "A unified approach to interpreting model predictions," in Adv. Neural Inf. Process. Syst., vol. 30, 2017, pp. 4765–4774.   [4]     G. Jocher, A. Chaurasia, and J. Qiu, "Ultralytics YOLOv8," Ultralytics, 2023. [Online]. Available: https://github.com/ultralytics/ultralytics.   [5]     C. Feichtenhofer, H. Fan, J. Malik, and K. He, "SlowFast networks for video recognition," in Proc. IEEE ICCV, Seoul, South Korea, 2019, pp. 6202–6211.   [6]  Z. Liu, J. Ning, Y. Cao, Y. Wei, Z. Zhang, S. Lin, and H. Hu, "Video Swin Transformer," in Proc. IEEE CVPR, New Orleans, LA, USA, 2022, pp. 3202–3211.   [7]   L. Oakden-Rayner, J. Dunnmon, G. Carneiro, and A.      Re, "Hidden stratification causes clinically meaningful failures in machine learning for medical imaging," in Proc. ACM Conf. Health Inference Learning, 2020, pp. 151–159.   [8]     A. S. Ross, M. C. Hughes, and F. Doshi-Velez, "Right for the right reasons: Training differentiable models by constraining their explanations," in Proc. IJCAI, Melbourne, Australia, 2017, pp. 2662–2670.   [9]   A. Saleem, J. Akhtar, and M. Usman, "Automatic weapon detection in surveillance videos: A survey," Sensors, vol. 21, no. 9, p. 2954, Apr. 2021. [10]  S. Akcay, A. Atapour-Abarghouei, and T. P. Breckon, "GANomaly: Semi-supervised anomaly detection via adversarial training," in Proc. ACCV, Perth, Australia, 2019, pp. 622–637.  

Editorial & Review Transparency

Publication Date

7/7/2026

Peer Review Type

Double-Blind Peer Review

Review Rounds: 2

Documents

Review Report (Confidential)
Copyright Form (Office)

Article Metrics & Impact

Article Views

0

Total views since publication

PDF Downloads

7

Total downloads since publication

Geographic Reach

5

Indexing, Archiving & Preservation

Google Scholar
Academia
ResearchGate
Crossref
SSRN
Semantic Scholar
Thomson Reuters
WorldCat
Mendeley
OpenAlex
EBSCO
Zenodo

Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.

Ethics, Compliance & Transparency

Plagiarism Screening

This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.

Conflict of Interest

The authors declare no conflict of interest related to this research work.

Funding Information

No funding information available for this research.

Similar & Recommended Articles

Similar Articles by Topic

Related research in the same subject area

Loading similar articles...