Catalogue of Tools & Metrics for Trustworthy AI

These tools and metrics are designed to help AI actors develop and use trustworthy AI systems and applications that respect human rights and are fair, transparent, explainable, robust, secure and safe.

Crime recognition from CCTV footage



Crime recognition from CCTV footage

I have implemented crime recognitions from CCTV footage using the UCF-crime dataset which can be obtained from here. The dataset is too big I downloaded a shorter version of it available on kaggle. This shorter version consists of 8 classes which include Abuse, arrest, arson, assault, burglary, explosion, fighting, and normal.

Data preprocessing

I converted videos into frames and took only 16 frames from every video for the training of the model. These 16 frames were selected from the complete video sequence by skipping frames according to video length. In this dataset, the number of videos is less but longer so to increase the number of samples by 10 times I took 16 samples where the first frame started from 0-9 thus giving 10 times the number of videos and all with different images. To speed up the transfer of data I combined these 16 images into 1. The implementation of the preprocessing can be found in videodata.ipynb. The preprocessed data with 16 samples can be found here.

Model used

This task is of action recognition and I tried one of the best models for action recognition Slow Fast Networks for Video Recognition worked best. The implementation of this network in PyTorch can be found here.

Training

The model trained fast and reached a training accuracy of 99% within 20 epochs. 

About the tool


Tool type(s):




Target sector(s):


Country/Territory of origin:


Type of approach:





Programming languages:



Github stars:

  • 103

Github forks:

  • 23

Modify this tool

Use Cases

There is no use cases for this tool yet.

Would you like to submit a use case for this tool?

If you have used this tool, we would love to know more about your experience.

Add use case
Partnership on AI

Disclaimer: The tools and metrics featured herein are solely those of the originating authors and are not vetted or endorsed by the OECD or its member countries. The Organisation cannot be held responsible for possible issues resulting from the posting of links to third parties' tools and metrics on this catalogue. More on the methodology can be found at https://oecd.ai/catalogue/faq.