{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,23]],"date-time":"2026-07-23T16:06:50Z","timestamp":1784822810902,"version":"3.55.0"},"reference-count":48,"publisher":"MDPI AG","issue":"1","license":[{"start":{"date-parts":[[2016,1,1]],"date-time":"2016-01-01T00:00:00Z","timestamp":1451606400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Closed circuit television systems (CCTV) are becoming more and more popular and are being deployed in many offices, housing estates and in most public spaces. Monitoring systems have been implemented in many European and American cities. This makes for an enormous load for the CCTV operators, as the number of camera views a single operator can monitor is limited by human factors. In this paper, we focus on the task of automated detection and recognition of dangerous situations for CCTV systems. We propose algorithms that are able to alert the human operator when a firearm or knife is visible in the image. We have focused on limiting the number of false alarms in order to allow for a real-life application of the system. The specificity and sensitivity of the knife detection are significantly better than others published recently. We have also managed to propose a version of a firearm detection algorithm that offers a near-zero rate of false alarms. We have shown that it is possible to create a system that is capable of an early warning in a dangerous situation, which may lead to faster and more effective response times and a reduction in the number of potential victims.<\/jats:p>","DOI":"10.3390\/s16010047","type":"journal-article","created":{"date-parts":[[2015,12,30]],"date-time":"2015-12-30T10:25:05Z","timestamp":1451471105000},"page":"47","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":154,"title":["Automated Detection of Firearms and Knives in a CCTV Image"],"prefix":"10.3390","volume":"16","author":[{"given":"Micha\u0142","family":"Grega","sequence":"first","affiliation":[{"name":"AGH University of Science and Technology, al. Mickiewicza 30, Krakow 30-059, Poland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1629-1821","authenticated-orcid":false,"given":"Andrzej","family":"Matiola\u0144ski","sequence":"additional","affiliation":[{"name":"AGH University of Science and Technology, al. Mickiewicza 30, Krakow 30-059, Poland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Piotr","family":"Guzik","sequence":"additional","affiliation":[{"name":"AGH University of Science and Technology, al. Mickiewicza 30, Krakow 30-059, Poland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9123-1039","authenticated-orcid":false,"given":"Miko\u0142aj","family":"Leszczuk","sequence":"additional","affiliation":[{"name":"AGH University of Science and Technology, al. Mickiewicza 30, Krakow 30-059, Poland"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2016,1,1]]},"reference":[{"key":"ref_1","unstructured":"BSIA (2013). British Security Industry Authority (BSIA) Survey, British Security Industry Association."},{"key":"ref_2","unstructured":"Cohen, N., Gattuso, J., MacLennan-Brown, K., and Branch, G.B.H.O.S.D. (2009). CCTV Operational Requirements Manual, Criminal Justice System Race Unit, The Home Office."},{"key":"ref_3","unstructured":"(2013). A Study of Active Shooter Incidents in the United States Between 2000 and 2013, Department of Justice, Federal Bureau of Investigations."},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Dziech, A., and Czyzewski, A. (2014). Multimedia Communications, Services and Security, Springer-Verlag.","DOI":"10.1007\/978-3-319-07569-3"},{"key":"ref_5","first-page":"1","article-title":"The efficient real-and non-real-time make and model recognition of cars","volume":"74","author":"Baran","year":"2013","journal-title":"Multimed. Tools Appl."},{"key":"ref_6","first-page":"215","article-title":"An Approach to Robust Visual Knife Detection","volume":"20","author":"Kmiec","year":"2011","journal-title":"Mach. Graph. Vis."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Dziech, A., and Czyzewski, A. (2012). Multimedia Communications, Services and Security, Springer.","DOI":"10.1007\/978-3-642-30721-8"},{"key":"ref_8","first-page":"1","article-title":"Visual detection of knives in security applications using Active Appearance Models","volume":"74","author":"Glowacz","year":"2013","journal-title":"Multimed. Tools Appl."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Dziech, A., and Czyzewski, A. (2013). Multimedia Communications, Services and Security, Springer.","DOI":"10.1007\/978-3-642-38559-9"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Dziech, A., and Czyzewski, A. (2014). Multimedia Communications, Services and Security, Springer International Publishing.","DOI":"10.1007\/978-3-319-07569-3"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Grega, M., Lach, S., and Sieradzki, R. (2013, January 25\u201328). Automated recognition of firearms in surveillance video. Proceedings of the 2013 IEEE International Multi-Disciplinary Conference on Cognitive Methods in Situation Awareness and Decision Support (CogSIMA), San Diego, CA, USA.","DOI":"10.1109\/CogSIMA.2013.6523822"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Jang, D., and Turk, M. (2011, January 5\u20137). Car-Rec: A real time car recognition system. Proceedings of the IEEE Workshop on Applications of Computer Vision (WACV), Kona, HI, USA.","DOI":"10.1109\/WACV.2011.5711559"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"285","DOI":"10.1016\/j.firesaf.2006.02.001","article-title":"An image processing technique for fire detection in video images","volume":"41","author":"Marbach","year":"2006","journal-title":"Fire Saf. J."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"654","DOI":"10.1016\/j.imavis.2009.10.008","article-title":"Silhouette representation and matching for 3D pose discrimination\u2014A comparative study","volume":"28","author":"Chen","year":"2010","journal-title":"Image Vis. Comput."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Velastin, S., Yin, J., Davies, A., Vicencio-Silva, M., Allsop, R., and Penn, A. (1994, January 26\u201328). Automated measurement of crowd density and motion using image processing. Proceedings of the Seventh International Conference on Road Traffic Monitoring and Control, London, UK.","DOI":"10.1049\/cp:19940440"},{"key":"ref_16","unstructured":"Lo, B., and Velastin, S. (2001, January 2\u20134). Automatic congestion detection system for underground platforms. Proceedings of the 2001 International Symposium on Intelligent Multimedia, Video and Speech Processing, Hong Kong, China."},{"key":"ref_17","unstructured":"Dever, J., da Vitoria Lobo, N., and Shah, M. (2002, January 11\u201315). Automatic visual recognition of armed robbery. Proceedings of the 16th International Conference on Pattern Recognition, Montreal, QC, Canada."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Darker, I., Gale, A., Ward, L., and Blechko, A. (2007, January 8\u201311). Can CCTV Reliably Detect Gun Crime?. Proceedings of the 41st Annual IEEE International Carnahan Conference on Security Technology, Ottawa, ON, USA.","DOI":"10.1109\/CCST.2007.4373499"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Blechko, A., Darker, I., and Gale, A. (2008, January 13\u201316). Skills in detecting gun carrying from CCTV. Proceedings of the 42nd Annual IEEE International Carnahan Conference on Security Technology, Prague, Czech Republic.","DOI":"10.1109\/CCST.2008.4751312"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Darker, I.T., Gale, A.G., and Blechko, A. (2008, January 15). CCTV as an automated sensor for firearms detection: Human-derived performance as a precursor to automatic recognition. Proceedings of the International Society for Optical Engineering.","DOI":"10.1117\/12.800264"},{"key":"ref_21","unstructured":"Barros, H., and Neto, A. (2014, January 24). FISVER: A Framework for Smart Public Safety in Video-Surveilled Vehicles. Proceedings of the 3rd Internation Workshop on ADVANCEs in ICT Infrastructures and Services, Miami, FL, USA."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"105","DOI":"10.1117\/1.OE.54.5.053109","article-title":"Threat assessment using visual hierarchy and conceptual firearms ontology","volume":"54","author":"Arslan","year":"2015","journal-title":"Opt. Eng."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"329","DOI":"10.1007\/s00138-007-0077-z","article-title":"How close are we to solving the problem of automated visual surveillance?","volume":"19","author":"Dee","year":"2008","journal-title":"Mach. Vis. Appl."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Li, Y., Tian, G.Y., Bowring, N., and Rezgui, N. (2008, January 15). A microwave measurement system for metallic object detection using swept-frequency radar. Proceedings of the Millimetre Wave and Terahertz Sensors and Technology, Cardiff, UK.","DOI":"10.1117\/12.801671"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Mery, D., Riffo, V., Zuccar, I., and Pieringer, C. (2013, January 23\u201328). Automated X-Ray Object Recognition Using an Efficient Search Algorithm in Multiple Views. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, Portland, OR, USA.","DOI":"10.1109\/CVPRW.2013.62"},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Maher, R. (2006, January 24\u201327). Modeling and Signal Processing of Acoustic Gunshot Recordings. Proceedings of the Digital Signal Processing Workshop, 12th\u2014Signal Processing Education Workshop, Teton National Park, WY, USA.","DOI":"10.1109\/DSPWS.2006.265386"},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"363","DOI":"10.1109\/TCSI.2010.2072052","article-title":"Evaluation of Gunshot Detection Algorithms","volume":"58","author":"Julian","year":"2011","journal-title":"IEEE Trans. Circuits Syst. I Regul. Pap."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Dziech, A., and Czyzewski, A. (2014). Multimedia Communications, Services and Security, Springer-Verlag.","DOI":"10.1007\/978-3-319-07569-3"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Dziech, A., and Czyzewski, A. (2012). Multimedia Communications, Services and Security, Springer-Verlag.","DOI":"10.1007\/978-3-642-30721-8"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"2","DOI":"10.1016\/j.imavis.2007.03.004","article-title":"Object detection using image reconstruction with PCA","volume":"27","author":"Fuentes","year":"2009","journal-title":"Image Vis. Comput."},{"key":"ref_31","unstructured":"Zywicki, M., Matiolanski, A., Orzechowski, T., and Dziech, A. (2011, January 18\u201320). Knife detection as a subset of object detection approach based on Haar cascades. Proceedings of the 11th International Conference on Pattern Recognition and Information Processing, Minsk, Republic of Belarus."},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Park, D.K., Jeon, Y.S., and Won, C.S. (November, January 30). Efficient use of local edge histogram descriptor. Proceedings of the 2000 ACM workshops on Multimedia, Los Angeles, CA, USA.","DOI":"10.1145\/357744.357758"},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"41","DOI":"10.4218\/etrij.01.0101.0201","article-title":"MPEG-7 Homogeneous Texture Descriptor","volume":"23","author":"Ro","year":"2001","journal-title":"ETRI J."},{"key":"ref_34","unstructured":"Manjunath, B.S. (2002). Introduction to MPEG-7, Multimedia Content Description Interface, John Wiley and Sons, Ltd."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"696","DOI":"10.1109\/76.927422","article-title":"The MPEG-7 visual standard for content description-an overview","volume":"11","author":"Sikora","year":"2001","journal-title":"IEEE Trans. Circuits Syst. Video Technol."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"1207","DOI":"10.1162\/089976600300015565","article-title":"New Support Vector Algorithms","volume":"12","author":"Smola","year":"2000","journal-title":"Neural Comput."},{"key":"ref_37","unstructured":"Stauffer, C., and Grimson, W.E.L. (1999, January 23\u201325). Adaptive background mixture models for real-time tracking. Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Los Alamitos, CA, USA."},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"679","DOI":"10.1109\/TPAMI.1986.4767851","article-title":"A Computational Approach to Edge Detection","volume":"8","author":"Canny","year":"1986","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"559","DOI":"10.1080\/14786440109462720","article-title":"On lines and planes of closest fit to systems of points in space","volume":"2","author":"Pearson","year":"1901","journal-title":"Philoso. Mag."},{"key":"ref_40","first-page":"716","article-title":"MPEG-7 visual shape descriptors","volume":"11","author":"Bober","year":"2001","journal-title":"IEEE Trans. Circuits Syst."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"493","DOI":"10.1049\/iet-ipr.2009.0246","article-title":"Evaluation of shape descriptors for shape-based image retrieval","volume":"5","author":"Amanatiadis","year":"2011","journal-title":"IET Image Process."},{"key":"ref_42","unstructured":"Knife Image Database. Available online: http:\/\/kt.agh.edu.pl\/matiolanski\/KnivesImagesDatabase\/."},{"key":"ref_43","unstructured":"Gun Video Database. Available online: http:\/\/kt.agh.edu.pl\/grega\/guns\/."},{"key":"ref_44","unstructured":"C++ MPEG-7 Library. Available online: http:\/\/mpeg7.joanneum.at\/."},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Dziech, A., and Czyzewski, A. (2013). Multimedia Communications, Services and Security, Springer.","DOI":"10.1007\/978-3-642-38559-9"},{"key":"ref_46","first-page":"1","article-title":"ConcealedWeapon Detection Using Image Processing","volume":"3","author":"Khajone","year":"2012","journal-title":"Int. J. Sci. Eng. Res."},{"key":"ref_47","doi-asserted-by":"crossref","unstructured":"Mauthe, A., Zeadally, S., Cerqueira, E., and Curado, M. (2009). Future Multimedia Networking, Springer-Verlag.","DOI":"10.1007\/978-3-642-02472-6"},{"key":"ref_48","doi-asserted-by":"crossref","first-page":"437","DOI":"10.1016\/j.imavis.2008.06.013","article-title":"People detection in low-resolution video with non-stationary background","volume":"27","author":"Zhang","year":"2009","journal-title":"Image Vis. Comput."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/16\/1\/47\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T19:17:08Z","timestamp":1760210228000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/16\/1\/47"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2016,1,1]]},"references-count":48,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2016,1]]}},"alternative-id":["s16010047"],"URL":"https:\/\/doi.org\/10.3390\/s16010047","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2016,1,1]]}}}