You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It contains some implementation based on instructions in this paper since
its code is not available. If you find our paper of this implementation is useful to your research, please cite
@inproceedings{liu2018classifier,
title={Classifier Two-Sample Test for Video Anomaly Detections},
author={Yusha Liu and
Chun-Liang Li and
Barnab{\'a}s P{\'o}czos},
booktitle={BMVC},
year={2018}
}
Assume the default path is Video-Anomaly-Detection/pipeline.
Requirements: The code is written in Matlab 2017a, and used with laptop with MacOS. Please first install
liblinear
matlab (files included). And download pretrained vgg model to put inside /PrepareData/Appearance_feature/ for appearance feature extraction.
Please put the
Avenue datatset
from CUHK inside the /Avenue_Dataset folder. Note that as mentioned we exclude the two videos which contains only abnormal events, since that contradicts with our assumption.
Instuctions
Generate scores:
The experiment and parameters are included in the /pipeline/Run_script.m. Running this script will generate a series of features and anomaly score files for the videos.
Compute AUC:
The script evaluation.m will read in the generated score files and compare with ground truth provided, to compute and display the AUC score. Individual AUC scores are also avaliable but not displayed.
About
classifier two-sample test for video anomaly detections