Weapon Classification System using VGG16 and Inception ResNet Models

Authors

  • Yi Yi Aung Myanmar Institute of Information Technology, Mandalay, Myanmar
  • Kyi Zar Oo University of Technology (Yatanarpon Cyber city, Pyin Oo lwin, Myanmar)

Keywords:

Weapon Classification, Deep Learning, VGG16, Inception ResNet

Abstract

Security forces urgently need to implement computerized systems in regard to the increasing number of criminal acts. In the battle against crime, the construction of modern weapon recognizing systems has become crucial. The nature and carefulness of the crime are determined by the type of weapon. In this study, distinct types of weapons classification using deep learning models is presented. The presented approach is developed using the Keras architecture, which is based on the TensorFlow framework, and makes use of the VGGNet and Inception ResNetV2 architecture. The classifier is trained using three classes: knife, gun, and background. The model uses the weapon images from Roboflow. The presented approach outperforms the VGG-16 model (96.25% accuracy) and Inception ResNet-V2 model (97.92% accuracy) in terms of classification accuracy. This study offers a crucial perspective on how well the presented deep learning models handle the challenging issue of weapon classification.

References

S. B. Mane, “Weapon Detection and Classification Using Deep Learning,” ITEGAM- J. Eng. Technol. Ind. Appl. ITEGAM-JETIA, vol. 10, no. 47, 2024, doi: 10.5935/jetia.v10i47.1039.

K. Simonyan and A. Zisserman, “Very Deep Convolutional Networks for Large-Scale Image Recognition,” Apr. 10, 2015, arXiv: arXiv:1409.1556. doi: 10.48550/arXiv.1409.1556.

J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, “You Only Look Once: Unified, Real-Time Object Detection,” in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA: IEEE, Jun. 2016, pp. 779–788. doi: 10.1109/CVPR.2016.91.

H. Jain, A. Vikram, Mohana, A. Kashyap, and A. Jain, “Weapon Detection using Artificial Intelligence and Deep Learning for Security Applications,” in 2020 International Conference on Electronics and Sustainable Communication Systems (ICESC), Coimbatore, India: IEEE, Jul. 2020, pp. 193–198. doi: 10.1109/ICESC48915.2020.9155832.

K. He, X. Zhang, S. Ren, and J. Sun, “Deep Residual Learning for Image Recognition,” in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA: IEEE, Jun. 2016, pp. 770–778. doi: 10.1109/CVPR.2016.90.

C. Szegedy et al., “Going deeper with convolutions,” in 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA: IEEE, Jun. 2015, pp. 1–9. doi: 10.1109/CVPR.2015.7298594.

N. Dwivedi, D. K. Singh, and D. S. Kushwaha, “Weapon Classification using Deep Convolutional Neural Network,” in 2019 IEEE Conference on Information and Communication Technology, Allahabad, India: IEEE, Dec. 2019, pp. 1–5. doi: 10.1109/CICT48419.2019.9066227.

M. Grega, A. Matiola?ski, P. Guzik, and M. Leszczuk, “Automated Detection of Firearms and Knives in a CCTV Image,” Sensors, vol. 16, no. 1, p. 47, Jan. 2016, doi: 10.3390/s16010047.

V. Kaya, S. Tuncer, and A. Baran, “Detection and Classification of Different Weapon Types Using Deep Learning,” Appl. Sci., vol. 11, no. 16, p. 7535, Aug. 2021, doi: 10.3390/app11167535.

R. Olmos, S. Tabik, and F. Herrera, “Automatic handgun detection alarm in videos using deep learning,” Neurocomputing, vol. 275, pp. 66–72, Jan. 2018, doi: 10.1016/j.neucom.2017.05.012.

S. Ahmed, M. T. Bhatti, M. G. Khan, B. Lövström, and M. Shahid, “Development and Optimization of Deep Learning Models for Weapon Detection in Surveillance Videos,” Appl. Sci., vol. 12, no. 12, p. 5772, Jun. 2022, doi: 10.3390/app12125772.

A. Lamas et al., “Human pose estimation for mitigating false negatives in weapon detection in video-surveillance,” Neurocomputing, vol. 489, pp. 488–503, Jun. 2022, doi: 10.1016/j.neucom.2021.12.059.

S. Khalid, A. Waqar, H. U. Ain Tahir, O. C. Edo, and I. T. Tenebe, “Weapon detection system for surveillance and security,” in 2023 International Conference on IT Innovation and Knowledge Discovery (ITIKD), Manama, Bahrain: IEEE, Mar. 2023, pp. 1–7. doi: 10.1109/ITIKD56332.2023.10099733.

M. M. Fernandez-Carrobles, O. Deniz, and F. Maroto, “Gun and Knife Detection Based on Faster R-CNN for Video Surveillance,” in Pattern Recognition and Image Analysis, vol. 11868, A. Morales, J. Fierrez, J. S. Sánchez, and B. Ribeiro, Eds., in Lecture Notes in Computer Science, vol. 11868. , Cham: Springer International Publishing, 2019, pp. 441–452. doi: 10.1007/978-3-030-31321-0_38.

M. A. Idakwo, R. E. Yoro, P. Achimugu, and O. Achimugu, “An Improved Weapons Detection and Classification System”.

Downloads

Published

2025-06-23

How to Cite

Yi Yi Aung, & Kyi Zar Oo. (2025). Weapon Classification System using VGG16 and Inception ResNet Models. International Journal of Computer (IJC), 55(1), 78–90. Retrieved from https://ijcjournal.org/index.php/InternationalJournalOfComputer/article/view/2358

Issue

Section

Articles