Abstract
Due to strict gun control policies, many countries completely prohibit private firearm ownership, leading to personal conflicts often involving handheld knives and sticks as the primary weapons. Detection of handheld knives and sticks in specific scenarios can effectively prevent conflicts and accidents. However, handheld knife and stick detection faces challenges such as limited datasets, severe occlusions, diverse types of knives and sticks, and difficulties in detecting slender objects, all of which significantly affect detection accuracy. This paper addresses the issue of limited datasets by creating a Handheld Knife Stick Detection (HKSD) dataset consisting of 1850 images from various scenes, including some from publicly available datasets. Additionally, to tackle challenges such as severe occlusions and diverse shapes, a detection model called DMR-YOLO is proposed in this study. DMR-YOLO addresses severe occlusion by introducing a Dual-path Multi-layer Residual Backbone (DMRB) network, which retains more original features to enhance the model’s selection of useful information. Furthermore, DMR-YOLO incorporates the concept of dual-path multi-layer residuals into a feature pyramid, proposing a novel Dual-Path Feature Pyramid (DPFP) to enhance the model’s robustness in extracting semantic information from various knife and stick features. To address detection challenges posed by excessively slender objects, DMR-YOLO introduces a module based on Transformer Architecture Fused with Soft Attention mechanisms (TAFSA). TAFSA provides global attention to the model, thereby improving the detection accuracy of slender knives and sticks. Experimental results demonstrate that the proposed DMR-YOLO model surpasses existing state-of-the-art detection models in terms of detection accuracy.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Disclosure of Interests
The authors declare that they have no conflict of interest.
References
Tamboli, S., Jagadale, K., Mandavkar, S., Katkade, N., Ruprah, T.S.: A comparative analysis of weapons detection using various deep learning techniques. In: 20237th International Conference on Trends in Electronics and Informatics (ICOEI), pp. 1141–1147. IEEE (2023)
Gaidhane, V.H., Hote, Y.V., Singh, V.: An efficient similarity measure approach for PCB surface defect detection. Pattern Anal. Appl. 21, 277–289 (2018)
Yadav, P., Gupta, N., Sharma, P.K.: A comprehensive study towards high-level approaches for weapon detection using classical machine learning and deep learning methods. Expert Syst. Appl. 212, 118698 (2023)
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)
Krizhevsky, A., Sutskever, I., Hinton, G.E.: ImageNet classification with deep convolutional neural networks. Commun. ACM 60(6), 84–90 (2017)
Lin, T.Y., Goyal, P., Girshick, R., He, K., Dollár, P.: Focal loss for dense object detection. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 2980–2988 (2017)
Tian, Z., Chu, X., Wang, X., Wei, X., Shen, C.: Fully convolutional one-stage 3D object detection on LiDAR range images. In: Advances in Neural Information Processing Systems, vol. 35, pp. 34899–34911 (2022)
Zhu, C., Chen, F., Shen, Z., Savvides, M.: Soft anchor-point object detection. In: Vedaldi, A., Bischof, H., Brox, T., Frahm, J.M. (eds.) ECCV 2020. LNCS, Part IX, vol. 12354, pp. 91–107. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-58545-7_6
Ren, S., He, K., Girshick, R., Sun, J.: Faster R-CNN: towards real-time object detection with region proposal networks. In: Advances in Neural Information Processing Systems, vol. 28 (2015)
Liu, W., et al.: SSD: Single shot MultiBox detector. In: Leibe, B., Matas, J., Sebe, N., Welling, M. (eds.) ECCV 2016. LNCS, Part I, vol. 9905, pp. 21–37. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-46448-0_2
Redmon, J., Farhadi, A.: YOLOV3: an incremental improvement. arXiv preprint arXiv:1804.02767 (2018)
Bochkovskiy, A., Wang, C.Y., Liao, H.Y.M.: YOLOV4: optimal speed and accuracy of object detection. arXiv preprint arXiv:2004.10934 (2020)
Long, X., et al.: PP-YOLO: an effective and efficient implementation of object detector. arXiv preprint arXiv:2007.12099 (2020)
Yu, G., et al.: PP-PicoDet: a better real-time object detector on mobile devices. arXiv preprint arXiv:2111.00902 (2021)
Vaswani, A., et al.: Attention is all you need. In: Advances in Neural Information Processing Systems, vol. 30 (2017)
Dosovitskiy, A., et al.: An image is worth 16x16 words: transformers for image recognition at scale. arXiv preprint arXiv:2010.11929 (2020)
Hou, Q., Zhou, D., Feng, J.: Coordinate attention for efficient mobile network design. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 13713–13722 (2021)
Lee, Y., Kim, J., Willette, J., Hwang, S.J.: MPViT: multi-path vision transformer for dense prediction. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7287–7296 (2022)
Ashraf, A.H., et al.: Weapons detection for security and video surveillance using CNN and YOLO-V5s. CMC Comput. Mater. Contin. 70, 2761–2775 (2022)
Olmos, R., Tabik, S., Herrera, F.: Automatic handgun detection alarm in videos using deep learning. Neurocomputing 275, 66–72 (2018)
Fernandez-Carrobles, M.M., Deniz, O., Maroto, F.: Gun and knife detection based on faster R-CNN for video surveillance. In: Morales, A., Fierrez, J., Sánchez, J., Ribeiro, B. (eds.) IbPRIA 2019. LNCS, vol. 11868, pp. 441–452. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-31321-0_38
Doan, T.S., Nguyen, T.K.T., Vo, T.A.: Weapon detection with yolo model version 5, 7, 8 (2023)
Wang, G., Ding, H., Duan, M., Pu, Y., Yang, Z., Li, H.: Fighting against terrorism: a real-time CCTV autonomous weapons detection based on improved Yolo V4. Digit. Signal Process. 132, 103790 (2023)
Yu, W., et al.: MetaFormer is actually what you need for vision. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10819–10829 (2022)
Qi, D., Tan, W., Liu, Z., Yao, Q., Liu, J.: A dataset and system for real-time gun detection in surveillance video using deep learning. In: 2021 IEEE International Conference on Systems, Man, and Cybernetics (SMC), pp. 667–672. IEEE (2021)
Castillo, A., Tabik, S., Pérez, F., Olmos, R., Herrera, F.: Brightness guided preprocessing for automatic cold steel weapon detection in surveillance videos with deep learning. Neurocomputing 330, 151–161 (2019)
Acknowledgments
This work was supported by the Central guide local science and technology development special fund project: Research and industrialization of Internet of Things terminal security testing platform (YDZX2022078), the Jinan Science and Technology Plan Project (Special Project for Social Livelihood): Research, development, and demonstration application of high-performance big data security storage system (202221012).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Jin, L. et al. (2024). Handheld Knife Stick Detection Based on Dual-Path Multi-layer Residuals. In: Huang, DS., Si, Z., Guo, J. (eds) Advanced Intelligent Computing Technology and Applications. ICIC 2024. Lecture Notes in Computer Science, vol 14867. Springer, Singapore. https://doi.org/10.1007/978-981-97-5597-4_34
Download citation
DOI: https://doi.org/10.1007/978-981-97-5597-4_34
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-97-5596-7
Online ISBN: 978-981-97-5597-4
eBook Packages: Computer ScienceComputer Science (R0)