No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 799ed31 Oct 18, 2018


The dataset can be also downloaded from the following link:

Below you can find Training/Testing Code for our anomaly Detection project which was published in Computer Vision and Pattern Recognition, CVPR 2018.

The implementation is tested using:

Keras version 1.1.0

Theano 1.0.2

Python 3

Ubuntu 16.04

We used C3D-v1.0 ( with default settings as a feature extractor. is to Train Anomaly Detection Model is to test trained Anomaly Detection Model

Save_C3DFeatures_32Segments is to save already computed C3D features for the whole video into 32 segment features.

weights_L1L2.mat: It contains the pre-trained weights for the model ‘model.json’.

Demo_GUI: We have provided a simple GUI which can be used to see results of our approach on sample videos.

SampleVideos: This folder contains C3D features (32 segments) for sample videos. It order to see testing results for the features in this folder, please copy the corrosponding videos in the same folder.

Plot_All_ROC: This code can be use to plot the ROC results reported in the paper. The data to plot ROCs of methods discussed in the paper can be found in folder Paper_Results.

The project page can be found at:

Temporal_Anomaly_Annotation.txt contains ground truth annotations of the testing dataset.

If you find any bug, or have some questions, please contact Waqas Sultani:



author = {Sultani, Waqas and Chen, Chen and Shah, Mubarak},

title = {Real-World Anomaly Detection in Surveillance Videos},

booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},

month = {June},

year = {2018}