Skip to main content

Automatic Firearm Detection in Images and Videos Using YOLO-Based Model

  • Conference paper
  • First Online:
Neural Information Processing (ICONIP 2022)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1794))

Included in the following conference series:

  • 628 Accesses

Abstract

In this day and age, we are witness to ever increasing gun violence all around the world. Technology has surpassed all human beliefs where each person can be easily tracked through their mobiles or through the fortitude of CCTV cameras available all across public properties and areas. There is a need to stop gun violence to protect people’s Right to Live. There are several instances appearing in the news daily about deaths caused due to gun violence. An alarm based system can be introduced which tracks the publicly available CCTV footage to look for guns in the open and raise appropriate alarms. In order to achieve this a robust model to identify and classify firearms automatically from videos is required. The aim of this paper is to describe a YOLO-based model which is highly effective in recognizing firearms in videos and mark them in the video such that the model can be further used for further applications such as raising alarms, tracking human beings with firearms etc.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Hubel, D.H., Wiesel, T.N.: Receptive fields and functional architecture of monkey striate cortex. J. Physiol. 195, 215–243 (1968)

    Article  Google Scholar 

  2. Viola, P., Jones, M.: Rapid object detection using a boosted cascade of simple features. In: CVPR (2001)

    Google Scholar 

  3. Girshick, R., Donahue, J., Darrell, T., Malik, J.: Rich feature hierarchies for accurate object detection and semantic segmentation. In: CVPR (2014)

    Google Scholar 

  4. Girshick, R.: Fast R-CNN. Microsoft Research (2015)

    Google Scholar 

  5. Ren, S., He, K., Girshick, R., Sun, J.: Faster R-CNN: towards real-time object detection with region proposal networks (2015)

    Google Scholar 

  6. He, K., Gkioxari, G., Dollar, P., Girshick, R.: Mask R-CNN. Facebook AI Research (FAIR) (2017)

    Google Scholar 

  7. Redmon, J., Divvala, S., Girshick, R., Farhadi, A.: You only look once: unified. real-time object detection University of Washington, Allen Institute for AI, Facebook AI Research (2015)

    Google Scholar 

  8. Grega, M., Matiolański, A., Guzik, P., Leszczuk, M.: Automated detection of firearms and knives in a CCTV image (2015)

    Google Scholar 

  9. Egiazarov, A., Mavroeidis, V., Zennaro, F.M., Vishi, K.: Firearm detection and segmentation using an ensemble of semantic neural networks. Digital Security Group University of Oslo (2020)

    Google Scholar 

  10. Dataset. https://www.kaggle.com/atulyakumar98/gundetection

  11. Fuentes, A., Im, D.H., Yoon, S., Park, D.S.: Spectral analysis of CNN for tomato disease identification. In: Rutkowski, L., Korytkowski, M., Scherer, R., Tadeusiewicz, R., Zadeh, L.A., Zurada, J.M. (eds.) ICAISC 2017. LNCS (LNAI), vol. 10245, pp. 40–51. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-59063-9_4

    Chapter  Google Scholar 

  12. Shorten, C., Khoshgoftaar, T.M.: A survey on image data augmentation for deep learning, pp. 7–9 (2019)

    Google Scholar 

  13. Dataset. https://www.edgecase.ai/articles/worlds-first-synthetic-gun-detection-dataset-from-edgecase-ai

  14. Akcay, S., Kundegorski, M.E., Willcocks, C.G., Breckon, T.P.: Using deep convolutional neural network architectures for object classification and detection within x-ray baggage security imagery. IEEE Trans. Inf. For. Secur. 13(9), 2203–2215 (2018)

    Article  Google Scholar 

  15. Olmos, R., Tabik, S., Herrera, F.: Automatic handgun detection alarm in videos using deep learning. Neurocomputing 275, 66–72 (2018)

    Article  Google Scholar 

  16. . Warsi, A., Abdullah, M., Husen, M.N., Yahya, M., Khan, S., Jawaid, N.: Gun detection system using Yolov3. In: 2019 IEEE International Conference on Smart Instrumentation, Measurement and Application (ICSIMA), pp. 1–4 (2019). https://doi.org/10.1109/ICSIMA47653.2019.9057329

  17. Kumar, B., Punitha, R., Mohana, C.: YOLOv3 and YOLOv4: multiple object detection for surveillance applications. In: 2020 Third International Conference on Smart Systems and Inventive Technology (ICSSIT), pp. 1316–1321 (2020). https://doi.org/10.1109/ICSSIT48917.2020.9214094

  18. Bhatti, M.T., Khan, M.G., Aslam, M., Fiaz, M.J.: Weapon detection in real-time CCTV videos using deep learning. IEEE Access 9, 34366–34382 (2021). https://doi.org/10.1109/ACCESS.2021.3059170

    Article  Google Scholar 

  19. Brownlee, J.: A Gentle Introduction to Transfer Learning for Deep Learning (2017). https://machinelearningmastery.com/transferlearning-for-deep-learning/

  20. Evolution-of-Yolo. https://towardsdatascience.com/evolution-of-yolo-yolo-version-1-afb8af302bd2

  21. Goodfellow, I., et al.: Generative adversarial nets. Adv. Neural Inf. Process. Syst., 2672–2680 (2014)

    Google Scholar 

  22. Lin, M., Chen, Q., Yan, S.: Network In Network (2013). arXiv:1312.4400

  23. An open source dataset under Creative Commons Attribution-ShareAlike 4.0 International License. https://github.com/ari-dasci/OD-WeaponDetection

  24. Simonyan, K., Zisserman, A.: Very Deep Convolutional Networks for Large-Scale Image Recognition (2015). arXiv:1409.1556

  25. . Hashmi, T.S.S., Haq, N.U., Fraz, M.M., Shahzad, M.: Application of deep learning for weapons detection in surveillance videos. In: 2021 International Conference on Digital Futures and Transformative Technologies (ICoDT2), pp. 1–6 (2021). https://doi.org/10.1109/ICoDT252288.2021.9441523

  26. India sees the third-highest firearm-related deaths in the world by Joe Myers https://theprint.in/india/india-sees-the-third-highest-firearm-related-deaths-in-the-world/274576

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Sourav Mishra or Vijay K. Chaurasiya .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Mishra, S., Chaurasiya, V.K. (2023). Automatic Firearm Detection in Images and Videos Using YOLO-Based Model. In: Tanveer, M., Agarwal, S., Ozawa, S., Ekbal, A., Jatowt, A. (eds) Neural Information Processing. ICONIP 2022. Communications in Computer and Information Science, vol 1794. Springer, Singapore. https://doi.org/10.1007/978-981-99-1648-1_46

Download citation

  • DOI: https://doi.org/10.1007/978-981-99-1648-1_46

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-99-1647-4

  • Online ISBN: 978-981-99-1648-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics