Accurate and real-time recognition of harmful objects in surveillance images to improve the security of public spaces

Accurate and real-time recognition of harmful objects in surveillance images to improve the security of public spaces

Amirreza Shekalzehi1 Farahnaz Mohanna2

1) MSc. in Communications Engineering
2) Phd. in Data Processing

IOI Code : AAHD-ABFKZG
Publication : National Conference on Information Technology, Nanotechnology, Artificial Intelligence and Technological Futures Studies(itnaf.ir)
Abstract :
    Accurate and real-time recognition of harmful objects such as firearms and cold weapons in surveillance images plays a vital role in improving the security of public spaces. However, existing models often suffer from performance degradation when faced with real-world challenges such as sudden changes in lighting, small target sizes, and objects occlusion. In this paper, an efficient hybrid approach based on the YOLOv5s model is presented for recognizing harmful objects in the challenging HOD dataset. The proposed approach is built upon two main basis: (1) designing a class-specific data augmentation pipeline in which four categories of optical, geometric, structural, and environmental transformations are applied in accordance with the visual characteristics of each class, and (2) integrating the Efficient Channel Attention (ECA) module into the YOLOv5s architecture, which enhances the ability to extract distinctive features without noticeably increasing model complexity. Experimental results show that the proposed YOLOv5s+ECA model achieves a mean average precision of mAP50 of 85.20% on the class-specific augmented HOD dataset, representing an improvement of 2.8% over the YOLOv5s baseline. This gain in recognition accuracy is achieved with the addition of only three parameters to the proposed model and a slight reduction in speed from 120 to 110 FPS (frame per second). Ablation studies further confirm that the two innovations improve recognition performance through complementary pathways: class-specific data augmentation raises the recall rate by expanding training diversity, while the ECA module reduces false positives and enhances precision by focusing on key features.

Keywords : real time recognition harmful objects class specific data augmentation hod dataset yolov5s+eca model