VigilantAI: Real-time detection of anomalous activity from a video stream using deep learning
Danish Javed, Usama Arshad, Shuhrabeel Peerzada, Muhammad Ramiz Saud, Nisar Ali, Raja Hashim Ali
Abstract
In an era where artificial intelligence (AI) solutions are increasingly integrated into various sectors, we have utilized Artificial Intelligence for enhancing public safety through real-time detection of illegal activities such as robberies and threats at gunpoint using CCTV footage. With the proliferation of deep learning in object detection, the study focuses on deploying the YoloV5 model, trained on a custom dataset compiled from diverse CCTV sources and movies, to identify specific criminal actions. One of the major problems faced in this field is the availability of a large robust labeled dataset on which a deep learning model can be trained. For this purpose, we have created our own dataset by converting various CCTV footage and movies into images, and then labeling them with the correct class. In addition, we also augmented data by using various data augmentation techniques for the chosen images. This dataset, enriched through augmentation techniques and annotated with bounding boxes, allows for the precise detection of threats, achieving an accuracy rate of 85%. Our system stands out by not only spotting these activities but also by instantly alerting security personnel, facilitating a rapid response to potentially dangerous situations. This capability is important for law enforcement agencies worldwide, offering them an advanced tool to act swiftly and prevent crimes, thereby enhancing public security. The essence of our work demonstrates the practical application and significant impact of AI in bolstering security measures, providing a solid foundation for future enhancements in the field. Through this initiative, we aim to foster a safer environment in public spaces, reducing crime rates and increasing the general public’s sense of safety.