scieee AI-readable full text Open interactive document viewer

Handgun detection using combined human pose and weapon appearance

Ruiz Santaquiteria Alegre, Jesús; Velasco Mata, Alberto; Vallez Enano, Noelia; Bueno, Gloria; Álvarez García, Juan Antonio; Deniz, Óscar

Abstract

Closed-circuit television (CCTV) systems are essential nowadays to prevent security threats or dangerous situations, in which early detection is crucial. Novel deep learning-based methods have allowed to develop automatic weapon detectors with promising results. However, these approaches are mainly based on visual weapon appearance only. For handguns, body pose may be a useful cue, especially in cases where the gun is barely visible. In this work, a novel method is proposed to combine, in a single architecture, both weapon appearance and human pose information. First, pose keypoints are estimated to extract hand regions and generate binary pose images, which are the model inputs. Then, each input is processed in di erent subnetworks and combined to produce the handgun bounding box. Results obtained show that the combined model improves the handgun detection state of the art, achieving from 4.23 to 18.9 AP points more than the best previous approach.

Full text

Handgun detection using combined human pose and weapon appearance Jesus Ruiz-Santaquiteriaa, Alberto Velasco-Mataa, Noelia Valleza, Gloria Buenoa, Juan A. ´ Alvarez-Garc´ıab, Oscar Deniza aUniversity of Castilla-La Mancha, ETSI Industriales, VISILAB, Ciudad Real, Spain bUniversity of Seville, ETSI Inform´atica, Dep. Lenguajes y Sistemas Inform´aticos, Sevilla, Spain Abstract Closed-circuit television (CCTV) systems are essential nowadays to prevent security threats or dangerous situations, in which early detection is crucial. Novel deep learning-based methods have allowed to develop automatic weapon detectors with promising results. However, these approaches are mainly based on visual weapon appearance only. For handguns, body pose may be a useful cue, especially in cases where the gun is barely visible. In this work, a novel method is proposed to combine, in a single architecture, both weapon appearance and human pose information. First, pose keypoints are estimated to extract hand regions and generate binary pose images, which are the model inputs. Then, each input is processed in different subnetworks and combined to produce the handgun bounding box. Results obtained show that the combined model improves the handgun detection state of the art, achieving from 4.23 to 18.9 AP points more than the best previous approach. Keywords: CCTV surveillance, deep learning, handgun detection, human pose estimation 1. Introduction Video surveillance has come a long way in the past decades. Nowadays, public or private spaces such as train stations, airports, museums, banks or government institutional buildings have their own video surveillance systems. These systems are very useful for post-event investigations and also assisting the security personnel to manage crowds, being able to monitor different locations simultaneously. However, the main drawback of these solutions is the need for continuous monitoring by a human operator. The increasing number of areas controlled by video surveillance cameras, as well as factors inherent to human 1This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible condition such as fatigue or loss of attention over time, make these systems rather inefficient [1, 2]. Related studies in this area show that early detection of security threats or risks is fundamental to mitigate the damage caused as much as possible [3]. Situations involving firearms such as handgun attacks, mass shootings, gunfire incidents on school grounds [4] or terrorist attacks [5] are representative examples of this kind of threats, which unfortunately have become rather common nowadays. The development of intelligent systems capable of automatically detecting threats or risk situations involving firearms as soon as possible can provide important advantages in terms of security. Recently, thanks to the momentum achieved by the introduction of deep learning methodologies, remarkable results have been obtained in visual tasks such as image classification or object detection and segmentation. arXiv:2010.13753v4 [cs.CV] 23 Jul 2021 In the particular case of firearm detection, while the results obtained with these novel methods are promising, there are still substantial limitations when they are applied in new scenarios different to those used for training, especially an unacceptable number of false positives [6]. Furthermore, most of the proposed methods for automatic detection of firearms are based only on the appearance of the weapon in the image, without taking into account additional information that may help provide a more robust and accurate detection. This work proposes the use of the human pose as complementary information to improve the performance of current handgun detectors based on deep learning. The human pose, defined as the relative position of the different joints and limbs of the human body, is quite characteristic in shootings. On the other hand, the images obtained by CCTV cameras are not generally of high quality, due to their low resolution, the presence of noise or poor lighting conditions. Also, other factors such as distance to the camera, the small visual size of the weapon1or a total or partial occlusion can prevent the object from being detected [7]. Our hypothesis in this work is that contextual body information can help improve the robustness of the detection. The contributions of this paper are as follows: (1) the development of a novel method for detecting hand-held firearms; (2) the performance evaluation of the proposed method in comparison with wellknown appearance-based detection methods such as YOLOv3 and also other recent alternatives that consider human pose information and (3) assessment of the robustness of the method in environments under poor illumination conditions, with large camera distances and with different camera perspectives. The rest of the article is organized as follows. Section 2 describes previous work related to the task of handgun detection. The datasets used in this study are detailed in Section 3. In Section 4 the proposed method is explained. The experiments carried out and results obtained are summarized in Section 5. 1Powerful weapons like rifles and shotguns, which have a larger visual size, have not been considered in this work. Finally, conclusions and future work are presented in Section 6. 2. Related Work X-ray scanning machines are widespread in public spaces such as airports, train stations or museums with the objective of finding concealed weapons in luggage. The X-ray generated images are manually analyzed by a security operator. In this context, several approaches based on classical vision methods were proposed to automate the detection process. The work Nercessian et al. [8] introduced a detection system based on image segmentation and edge-based feature vectors. Xiao et al. [9] proposed a method based on Haar-like features and AdaBoost classifiers to automatically detect handguns in this kind of images. Also, 3D interest point descriptors have been studied for object classification in 3D baggage security computed tomography imagery [10, 11]. While X-ray imaging-based systems are useful to find weapons in travel bags or luggage, the scope of these solutions is very limited. Additionally, this kind of scanning machines are quite expensive. Using the RGB images captured by the CCTV video surveillance cameras to detect dangerous objects can be a more versatile and economical option. In this respect, several works related to the detection of weapons in RGB images through traditional machine learning methods have been proposed. Tiwari and Verma [12] proposed a method to detect weapons in RGB images which used color segmentation and the k-means algorithm to remove unrelated objects. Then, the Harris interest point detector and Fast Retina Keypoint (FREAK) is used to locate the handgun in the segmented images. Later, Halima and Hosam [13] proposed another method to detect the presence of a handgun in an image. In this case, SIFT features are extracted from the collection of images and clustered by the k-means algorithm. Then, a word vocabulary based histogram is implemented and finally, a Support Vector Machine is used to decide whether the new image contains a weapon. More recent deep learning based methods have been also applied to this task using different strategies. An important family of them is based on sliding 2 windows. In this case, a large number of regions or windows of different sizes and aspect ratios are generated within the image (on the order of 104) and each one is classified individually by a neural network. Several studies have applied this technique to detect handguns in images similar to those captured by CCTV video surveillance cameras [14, 15]. The major drawback of this type of system is the high processing time required to classify these windows, making it difficult to use them in real time. Other solutions are based on region proposals, which instead of using all possible windows in an image select only actual candidates. The first techniques that have used CNNs in this context are the Region-based CNN family of methods [16, 17]. Verma and Dhillon [18] proposed a method based on the Faster-RCNN framework with a VGG-16 backbone as feature extractor trained with the IMFDB dataset [19] to detect hand-held arms. Both sliding window and Faster- RCNN methods were tested and compared by Olmos et al. [20] for handgun detection. Faster-RCNN pre-trained with VGG-16 architecture obtained the best results on a custom dataset of 3000 YouTube gun images. Finally, another common approach for detecting objects is based on the YOLO family of methods [21, 22, 23]. In these architectures a single deep neural network is applied once to the full image instead of multiple region proposals. The image is divided into fixed regions and probabilities and bounding boxes are predicted for each one. Several works have also recently applied YOLOv3 for detecting firearms with promising results [24, 25]. Human pose information has been recently used for handgun detection and threat assessment. Abruzzo et al. [26] proposed a method for identifying people and handguns in images and then evaluate the threat level of the person poses based on the their body posture. However, the main limitation of this work is that the handgun detection performance is limited by the handgun detector used (in this case YOLO). In the handgun detection step, no human pose information is considered. Basit et al. [27] proposed a method for classifying human-handgun pairs. As in the previous work, human and handgun are separately detected. Then, each detected human is paired with each detected handgun and, finally, a neural network is trained to classify these paired human-handgun bounding boxes into two classes: “carrying handgun” and “not carrying handgun”. This method can be used to remove false handgun detections, but again the detection performance is limited by the handgun detector used and the human pose cannot help to reduce the number of false negatives. More recently, Salido et al. [28] analyzed how including body pose information (skeleton keypoints and limbs retrieved by a pose detector) in the input images, as a preprocessing step, can improve the handgun detection performance. In the closest work to ours, an approach to improve a handgun detector through the integration with the human pose was introduced recently in Velasco-Mata et al. [29]. This method used a visual heatmap representation of both the pose and the weapon location, using convolutional layers to obtain a final grayscale image that indicates potential handgun regions on the image. 3. Materials This section describes the datasets used for assessing the performance of the proposed method. In order to consider different contexts and image features, the images have been collected from different sources, such as public handgun datasets, YouTube clips and even synthetic images obtained from video games. 3.1. Public handgun datasets The proposed method is intended to be applied in CCTV surveillance systems on a wide variety of scenarios. Unfortunately, most public handgun datasets contain weapon profile images occupying the whole image and with homogeneous background, which are quite different from the type of images captured with surveillance cameras. Surveillance scenarios are typically characterized by a large distance between the subjects recorded and the camera, low image resolution or quality, and poor lighting conditions, among others. Salazar Gonzalez et al. [30] recently introduced a new dataset composed of CCTV images from a real video surveillance system and synthetic images generated with the Unity game engine. However, the 3 CCTV images in this dataset are not realistic enough, showing unnatural poses for handgun attacks or mass shootings. On the other hand, it is possible to find some public datasets or parts thereof which are realistic enough. The first dataset used in our study is composed of 665 images of size 640x480 extracted from videos of the Guns Movies Database [14]. In these clips a man is holding a handgun in a few shooting poses in an indoor room. Camera distance, image resolution and illumination conditions are a good representation of CCTV scenarios. In Figure 1 two example images from this dataset are shown. Figure 1: Sample images from Gun Movies Database Also, 300 images of size 512x512 were obtained from the publicly available Monash Guns Dataset [31] for test purposes. These images show different CCTV scenarios with people holding handguns in several body poses. In Figure 2 two example images from this realistic dataset are shown. Figure 2: Sample images from Monash Guns Dataset 3.2. YouTube videos YouTube is another useful source to find videos of people carrying or holding weapons and/or shooting. As in the previous case, it is difficult to find clips of real CCTV footage showing handguns. Nevertheless, there are videos of shooting practice sessions which are suitable for our purposes. This dataset is composed of 952 images of size 1920x1080 extracted from 12 YouTube clips. In these videos there are different camera locations, background scenarios, shooting poses and lighting conditions. Figure 3 shows two example images from this dataset. Figure 3: Sample images from YouTube dataset 3.3. Synthetic video game images Video games can be also used to create new data for this task. Through specific video games it is possible to recreate representative situations or scenarios and then extract videos or images. In this case, a synthetic dataset was created with the popular shooter video game Watch Dogs 2 on a PC platform. Using the novel NVIDIA Ansel feature2, ingame videos can be recorded from different camera locations, distances or angles. In this way, 4 video sequences were recorded, performing a full camera rotation around the main character with two different heights in various shooting animations. Finally, 650 images of size 3840x2160 were obtained from these video sequences. In Figure 4 two example images of this dataset are shown. 3.4. Data augmentation and dataset split The use of a large and representative dataset is essential to achieve good performance in novel object detectors based on deep learning and CNNs. YouTube clips or synthetic video game images can be a solution, but the manual labelling process is a 2https://developer.nvidia.com/ansel 4 Figure 4: Sample images from Watch Dogs 2 dataset (©2016 Ubisoft Entertainment) time consuming task, limiting the number of images that can be effectively generated. Novel deep learning methods need a huge amount of data to be correctly trained, because of the large number of parameters and model complexities. To deal with this problem, data augmentation is a common practice that helps to increase the size and variability of the dataset by applying a set of transformations to the original data. In our case, for each image included in the dataset, another one was generated performing a horizontal flip. In this way, the number of images was doubled, generating new shooting poses. Moreover, transfer learning is another technique commonly used in classification or object detection tasks to circumvent the need for large training datasets. It is based on adapting the useful features learned in a previous training process with a large public dataset, such as COCO [32] or ImageNet [33], to a new domain. In this way, starting the new training with the previously learned parameters instead of randomly initialized weights, allows us to obtain good results for the specific task even with small specific datasets. Finally, for this work, the dataset used for training the proposed method after the data augmentation procedure is composed of a total of 3000 randomly selected images, obtained from Guns Movies Database, Watch Dogs 2 and YouTube datasets, including a total of 3160 handguns. The validation set is formed by a total of 300 images obtained from the same datasets (Guns Movies Database, Watch Dogs 2 and YouTube), including 306 handguns. For test, two different sets have been created. The first one (test set A) is formed by a total of 300 images of the YouTube database, including a total of 297 handguns. The second one (test set B) is composed of 300 images from the Monash Guns Dataset, containing another 300 handguns. None of the test images was either in the training or validation set. A summary of the dataset composition is presented in Table 1. 4. Methodology In this section, the different steps involved in the proposed method are detailed, starting from the input image down to the final handgun detections. 4.1. Human pose estimation The first step consists of collecting the human pose information found in the input image. This was done with the OpenPose framework [34]. OpenPose is an open-source multi-person pose estimator which is able to predict the 2D keypoints as well as keypoint associations, keeping a high accuracy and a low inference time. In this step, a set of 25 2D keypoints are predicted for each person in the image, along with predicted confidence for each one of them. These keypoints include the necessary human body position information (neck, shoulders, elbows, wrists, etc.) to define the pose of each person. 4.2. Hand region extraction In the second step, using the collected pose information, the hand regions for each detected person are inferred and extracted. The elbow and wrist positions, as well as the distances and directions between them are used to generate a set of bounding boxes around all of the hand regions in the input image (see Figure 5). The confidence score given by OpenPose for each keypoint is applied to filter wrong or inaccurate detections, and an intersection over union (IoU) threshold between the predicted bounding boxes is checked to prevent overlapping areas (e.g., a handgun held with both hands is considered as a single region, since both bounding boxes are overlapping). 5 Training Validation Test set A Test set B Total Gun Movies Database 1064 113 0 0 1177 Monash Guns Dataset 0 0 0 300 300 Watch Dogs 2 1071 108 0 0 1179 YouTube 865 79 300 0 1244 Total 3000 300 300 300 3900 Table 1: Number of images for each dataset after the data agumentation process. Figure 5: Pose estimation and hand region extraction 4.3. Hand region classification For this stage, a convolutional neural network was trained to classify the previously generated hand regions into handgun or no-handgun areas, based on whether there is a handgun inside the region (see Figure 6). The selected network was Darknet-53, the backbone feature extractor used in the YOLOv3 object detector. Henceforth, this hand region classifier will be denoted as HRC (Hand Region Classifier). The dataset used for training the hand region classifier was composed of 6177 images, generated from the hand areas extracted from the 3000 training images described in Section 3. These regions were automatically labelled by comparing the hand areas and the ground truth handgun locations. For this, instead of the IoU score, we followed the overlap measure proposed in Velasco-Mata et al. [29]: intersection over minimum area (IoMin), see Equation 1. Usually, ground truth handgun locations are smaller than hand bounding boxes. This metric allows a better overlap measurement in this particular scenario, since bounding boxes of different sizes are not penalized. More details are given in [29]. IoMin(A, B) = area(A∩B) min(area(A), area(B)) (1) If the regions overlap with a 0.5 IoMin threshold, the hand area is labelled as a handgun area. On the other hand, if there is no overlap or the treshold is below 0.5 IoMin, the hand area is labelled as nohandgun. Each hand region was also resized to a fixed size of 256x256. The model was trained with a batch size of 4 in 60 epochs using the Adam optimization algorithm and the categorical cross entropy as loss function. 4.4. Pose combination method A further modification of the HRC method described in the previous section was considered. In this case, the network is modified to combine the hand region image with the human pose information obtained with OpenPose. This was done to help the region classifier by exploiting correlation with the individual’s pose information. Pose data is used to create binary images of fixed size 512x512 for each detected person in the input image, drawing the keypoints and the connections between them. A normalization procedure is also applied to focus only on the relative position between the keypoints, removing variable factors such as camera distance and absolute position in the image. For this, the original neck keypoint j0is 6 Figure 6: Hand region classification step taken as reference and the distance between this point and the lumbar spine keypoint j1is used as the scale factor for the normalization. In this way, the new keypoints knare calculated following Equation 2: kn=jn−j0 |−−→ j0j1|(2) where jnis the original 2D point and |−−→ j0j1|is the distance between j0and j1. In Figure 7b an example of a generated pose image is shown, along with the original image (Figure 7a). This binary pose image along with the original hand region image are the inputs to the new classifier. However, note that each pose image is related to two different hand regions (the two hands of an individual), and the pose image generated would be the same in the two cases. The problem then is that one of these regions could be labelled as handgun and the other as no-handgun, and the net effect of the additional pose information would be ignored (as the two regions have the same pose image). To prevent this, the pose image is divided into two parts of size 256x512 as shown in Figure 8, selecting as input the half in which the hand region is included. Thus, for each detected hand region there are two network inputs, the hand region itself and the pose image half corresponding to this hand region. For those cases in which the handgun is held with the two hands and the bounding boxes are overlapping, as the case shown in Figure 7, we ensure that only a single hand region is taken into account, along with the corresponding pose image half. The whole network architecture, henceforth named as HRC+P (Hand Region Classifier + Pose data), is divided into two main branches. The first one is the hand region classifier (HRC). On the other hand, the processing of the pose image is carried out by another custom subnetwork. The outputs of the two subnetworks are then joined in a single feature vector connected to the output of the whole network. In this way, the model is capable of learning the optimal combination of handgun appearance with human pose information to improve the classification performance. The whole architecture is shown in Figure 9. 4.5. Bounding box prediction The last step of the proposed method consists of generating the handgun predictions in the image. Each hand region of each detected person is passed through the classification network to obtain a class label (handgun vs no-handgun). Then, the bounding boxes of the regions classified as handgun are included in the output list of predicted handguns (see Figure 10). 5. Results This section presents the results obtained in the tests carried out to evaluate the performance of the proposed method. In general, object detection models are evaluated using Precision, Recall, and Average Precision (PASCAL VOC AP50) metrics [35]. In fact, these metrics are based on True Positives (TP), False Positives (FP) and False Negatives (FN). These values are calculated taking into account the overlap between the ground truth bounding boxes and those predicted by the detector. In the same way as in the automatic labeling process for the training of the hand region classifier (Subsection 4.3), the IoMin is the selected criterion to calculate the overlap between the predicted bounding boxes and the ground truth data, due to the size difference between them. The proposed pose-combined approach (HRC+P) has been compared to three different handgun detectors: 7 (a) Original OpenPose image (b) Normalized pose image Figure 7: Pose classification example. Figure 8: Pose processing steps, including normalization and division in halves 8 Figure 9: Network architecture 9 gerous situations in underground railway stations, Transportation Research Part C: Emerging Technologies 14 (2006) 96–113. [3] F. Enr´ıquez, L. M. Soria, J. A. ´ Alvarez-Garc´ıa, F. S. Caparrini, F. Velasco, O. Deniz, N. Vallez, Vision and crowdsensing technology for an optimal response in physical-security, in: International Conference on Computational Science, Springer, 2019, pp. 15–26. [4] Everytown for Gun Safety, Gunfire on School Grounds in the United States, https://everytownresearch.org/ gunfire-in-school/#ns, 2020. Accessed: 20/07/2021. [5] R. A. Tessler, S. J. Mooney, C. E. Witt, K. O’Connell, J. Jenness, M. S. Vavilala, F. P. Rivara, Use of firearms in terrorist attacks: differences between the United States, Canada, Europe, Australia, and New Zealand, JAMA internal medicine 177 (2017) 1865–1868. [6] N. Vallez, G. Bueno, O. Deniz, False positive reduction in detector implantation, in: Conference on Artificial Intelligence in Medicine in Europe, Springer, 2013, pp. 181–185. [7] A. Castillo, S. Tabik, F. P´erez, R. Olmos, F. Herrera, Brightness guided preprocessing for automatic cold steel weapon detection in surveillance videos with deep learning, Neurocomputing 330 (2019) 151–161. [8] S. Nercessian, K. Panetta, S. Agaian, Automatic detection of potential threat objects in x-ray luggage scan images, in: 2008 IEEE Conference on Technologies for Homeland Security, IEEE, 2008, pp. 504–509. [9] Z. Xiao, X. Lu, J. Yan, L. Wu, L. Ren, Automatic detection of concealed pistols using passive millimeter wave imaging, in: 2015 IEEE International Conference on Imaging Systems and Techniques (IST), IEEE, 2015, pp. 1–4. [10] G. Flitton, T. P. Breckon, N. Megherbi, A comparison of 3D interest point descriptors with application to airport baggage object detection in complex CT imagery, Pattern Recognition 46 (2013) 2420–2436. [11] G. Flitton, A. Mouton, T. P. Breckon, Object classification in 3D baggage security computed tomography imagery using visual codebooks, Pattern Recognition 48 (2015) 2489– 2499. [12] R. K. Tiwari, G. K. Verma, A computer vision based framework for visual gun detection using Harris interest point detector, Procedia Computer Science 54 (2015) 703–712. [13] N. B. Halima, O. Hosam, Bag of words based surveillance system using support vector machines, Int. J. Secur. Appl 10 (2016) 331–346. [14] M. Grega, A. Matiola´nski, P. Guzik, M. Leszczuk, Automated detection of firearms and knives in a CCTV image, Sensors 16 (2016) 47. [15] F. Gelana, A. Yadav, Firearm detection from surveillance cameras using image processing and machine learning techniques, in: Smart Innovations in Communication and Computational Sciences, Springer, 2019, pp. 25–34. [16] R. Girshick, Fast R-CNN, in: Proceedings of the IEEE international conference on computer vision, 2015, pp. 1440–1448. [17] S. Ren, K. He, R. Girshick, J. Sun, Faster R- CNN: Towards real-time object detection with region proposal networks, Advances in Neural Information Processing Systems (2015) 91–99. [18] G. K. Verma, A. Dhillon, A handheld gun detection using faster R-CNN deep learning, in: Proceedings of the 7th International Conference on Computer and Communication Technology, 2017, pp. 84–88. [19] IMFDB: Internet Movie Firearms Database, http://www.imfdb.org/wiki/Main_Page, 2020. Accessed: 20/07/2021. 16 [20] R. Olmos, S. Tabik, F. Herrera, Automatic handgun detection alarm in videos using deep learning, Neurocomputing 275 (2018) 66–72. [21] J. Redmon, S. Divvala, R. Girshick, A. Farhadi, You only look once: Unified, real-time object detection, in: Proceedings of the IEEE conference on computer vision and pattern recognition, 2016, pp. 779–788. [22] J. Redmon, A. Farhadi, Yolo9000: better, faster, stronger, in: Proceedings of the IEEE conference on computer vision and pattern recognition, 2017, pp. 7263–7271. [23] A. Farhadi, J. Redmon, Yolov3: An incremental improvement, Computer Vision and Pattern Recognition (2018). [24] A. Warsi, M. Abdullah, M. N. Husen, M. Yahya, S. Khan, N. Jawaid, Gun detection system using yolov3, in: 2019 IEEE International Conference on Smart Instrumentation, Measurement and Application (ICSIMA), IEEE, 2019, pp. 1– 4. [25] R. F. de Azevedo Kanehisa, A. de Almeida Neto, Firearm detection using convolutional neural networks., in: ICAART (2), 2019, pp. 707–714. [26] B. Abruzzo, K. Carey, C. Lowrance, E. Sturzinger, R. Arnold, C. Korpela, Cascaded neural networks for identification and posturebased threat assessment of armed people, in: 2019 IEEE International Symposium on Technologies for Homeland Security (HST), IEEE, 2019, pp. 1–7. [27] A. Basit, M. A. Munir, M. Ali, N. Werghi, A. Mahmood, Localizing firearm carriers by identifying human-object pairs, in: 2020 IEEE International Conference on Image Processing (ICIP), IEEE, 2020, pp. 2031–2035. [28] J. Salido, V. Lomas, J. Ruiz-Santaquiteria, O. Deniz, Automatic handgun detection with deep learning in video surveillance images, Applied Sciences 11 (2021). URL: https: //www.mdpi.com/2076-3417/11/13/6085. doi:10.3390/app11136085. [29] A. Velasco-Mata, J. Ruiz-Santaquiteria, N. Vallez, O. Deniz, Using human pose information for handgun detection, Neural Computing and Applications (2021). [30] J. L. Salazar Gonz´alez, C. Zaccaro, J. A. ´ Alvarez-Garc´ıa, L. M. Soria-Morillo, F. Sancho Caparrini, Real-time gun detection in cctv: An open problem, Neural Networks 132 (2020) 297 – 308. [31] J. Lim, M. I. Al Jobayer, V. M. Baskaran, J. M. Lim, J. See, K. Wong, Deep multi-level feature pyramids: Application for non-canonical firearm detection in video surveillance, Engineering Applications of Artificial Intelligence 97 (2021) 104094. [32] T.-Y. Lin, M. Maire, S. Belongie, J. Hays, P. Perona, D. Ramanan, P. Doll´ar, C. L. Zitnick, Microsoft COCO: Common Objects in Context, in: European conference on computer vision, Springer, 2014, pp. 740–755. [33] J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, L. Fei-Fei, ImageNet: A Large-Scale Hierarchical Image Database, in: CVPR09, 2009. [34] Z. Cao, G. Hidalgo Martinez, T. Simon, S. Wei, Y. A. Sheikh, OpenPose: realtime multi-person 2D pose estimation using Part Affinity Fields, IEEE Transactions on Pattern Analysis and Machine Intelligence 43 (2019) 172–186. [35] R. Padilla, S. L. Netto, E. A. B. da Silva, A survey on performance metrics for object-detection algorithms, in: 2020 International Conference on Systems, Signals and Image Processing (IWSSIP), 2020, pp. 237–242. 17