Action Recognition Model to detect Suspicious activties through Surveillance videos
https://www.kaggle.com/mateohervas/dcsass-dataset
Delete the second DCSASS Dataset folder and Labels folder
python3
opencv3 (with ffmpeg)
keras
numpy
pandas
utils
folder contains 3 python scripts to runpython utilties/resort_dataset.py
python utilties/create_normal_class.py
python utilties/preprocess.py
The train_set.ipynb
contains all functions needed to train model. Run all cells and adjust parameters in main()
function for training.
For our experiment we used slowfast model with batch size 8
, img_size 224
and frames 25
.
Our slowfast model trained on above settings for 100
epochs can be found here https://www.mediafire.com/file/idn98l5m9rfcuvt/slowfast_finalmodel.hd5/file
predictions()
giving the video to predict as input. We have provided some sample videos in test/
3DCNN : https://github.com/dipakkr/3d-cnn-action-recognition
Slowfast : https://github.com/facebookresearch/SlowFast
Keras - Slowfast : https://github.com/xuzheyuan624/slowfast-keras
Keras - i3D - https://github.com/dlpbc/keras-kinetics-i3d