GithubHelp home page GithubHelp logo

xiaojiean / abnormal-event-detection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kpandey008/abnormal-event-detection

0.0 0.0 0.0 26.59 MB

The project is an OpenCV based C++ implementation of the paper 'Abnormal Event Detection at 150FPS in Matlab'

C++ 100.00%

abnormal-event-detection's Introduction

Abnormal-Event-Detection_IKST

This project is an OpenCV based implementation of the paper 'Abnormal Event Detection at 150FPS in Matlab' by Cewu Lu. Jianping Shi. Jiaya Jia published in ICCV'13. The algorithm has been implemented in C++ using the OpenCV library setup in CodeBlocks developement environment. The link to the paper is http://ieeexplore.ieee.org/document/6751449/

Prerequisites

For running the project, OpenCV needs to be setup. There are many blogs and resources available for setting up OpenCV either in Windows or Linux OS. I prefer Linux as everything is much easier to set up :P.

How to use the code

The videos used for training and testing the sparse coding model have not been incorporated in the repository. However the Avenue dataset has been used to train the model for detecting abnormal events and is available from the following links http://appsrv.cse.cuhk.edu.hk/~cwlu/Anormality_1000_FPS/dataset.html or http://www.cse.yorku.ca/vision/research/anomalous-behaviour-data

Assuming that the prerequisites are in place, please follow the steps to run the project

  1. Open the file main.cpp

  2. If you want to retrain the model, uncommment the first half of the code in main.cpp and change the directory name depending on the location of the dataset in your computer. Otherwise follow step 3 for only testing the model

  3. If you want to test the model with the existing parameters, place the videos you want to test with in the testing_videos folder in the project and run the program in CodeBlocks.

abnormal-event-detection's People

Contributors

kpandey008 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.