dolongbien / HumanBehaviorBKU

Abnormal Human Behaviors Detection/ Road Accident Detection From Surveillance Videos/ Real-World Anomaly Detection in Surveillance Videos/ C3D Feature Extraction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Road Accident Detection From Surveillance Videos

BKU Team 2018

An implementation and a modified version of Real-world Anomaly Detection in Surveillance Videos (Sultani, Waqas and Chen) on Road_Accident dataset. videos

demo

Dataset

Road accident dataset consists of 796 videos under *.mp4 format (330 normal, 366 abnormal, 100 testing).

  • Dataset link: updating
  • C3D Extractor: Learning Spatiotemporal Features with 3D Convolutional Networks (Du Tran et al.).
  • Extract C3D feature of video using Google Colab (this jupyter notebook)

Follow the instruction in the notebook to extract video feature.

Training

Check this notebook Train_Test_Code to see the documentation as well as training/testing process.

  • Keras 1.1.0
  • Theano 0.9.0
  • Python 3

Visualize the results

Django web application. See WebApp directory for more details.

File structure

File/Directory Decscription
C3D Extract C3D video feature
Scripts Python, Matlab ultility scripts
Temporal Annotation Groudtruth annotation of testing videos
Makefile.config Configuration file to build C3D Caffe model
Train/Test Code Jupyter notebook for Traning/Testing process

If you find any bug, or have some questions, feel free to contact any of these: Bien Do (dolongbien1205@gmail.com), Hoai Do (1511093@hcmut.edu.vn), Dat Nguyen (1510700@hcmut.edu.vn).

References

[1] W. Sultani, C. Chen, and M. Shah, “Real-world anomaly detection in surveillance videos,” in The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Jun. 2018.

[2] D. Tran, L. Bourdev, R. Fergus, et al., “Learning spatiotemporal features with 3d convolutional networks,” in The IEEE International Conference on Computer Vision (ICCV), Dec. 2015 .

About

Abnormal Human Behaviors Detection/ Road Accident Detection From Surveillance Videos/ Real-World Anomaly Detection in Surveillance Videos/ C3D Feature Extraction


Languages

Language:Jupyter Notebook 45.8%Language:Python 24.7%Language:HTML 11.9%Language:JavaScript 6.4%Language:MATLAB 6.0%Language:CSS 3.9%Language:Shell 1.3%