GithubHelp home page GithubHelp logo

grseb9s / anomalyframework_eccv2016 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alliedel/anomalyframework_eccv2016

0.0 1.0 0.0 21.64 MB

License: MIT License

MATLAB 27.15% Python 2.91% Shell 0.25% Makefile 0.91% C 47.62% C++ 21.16%

anomalyframework_eccv2016's Introduction

Discriminative Framework for Anomaly Detection

Code base owner (and author): Allie Del Giorno

This code implements the discriminative framework for the A. Del Giorno, J.A. Bagnell, M. Hebert ECCV 2016 paper "A Discriminative Framework for Anomaly Detection in Large Videos"

If you have issues running the code or plan to use it for research purposes, please contact me: [email protected] .

Installation

You must first compile the C++ executable with:

">> sh install.sh"

If you have any issues, try installing liblinear or libsvm separately work through the well-documented issues the people sometimes have. My code is built on top of liblinear, and shouldn't produce any other compilation issues.

Usage

Demo

Run the script 'demo.m':

">> matlab -r demo"

This script should run and terminate with a print statement "Demo success!" and a time.

On my (laptop) machine, it takes about 1 minute.

If the demo does not succeed, the code was not installed correctly. Be sure you ran the install script, and if MATLAB complains of missing functions (e.g. - Undefined function or variable 'GetParameterPermutations'), first check code/src/externaltools/README

Modifications

You'll want to modify the script code/scripts/runscript.m as a starting point.

Parameter modifications can be made in Configure.m (make your own configuration)

The set of all parameters and their defaults are listed in code/src/configure/DefaultPars.m . You can change most of these parameters in Configure.m .

Functionality

This code takes a .train file (libsvm format) and returns a .mat file with an anomaly score for each point.

It will NOT generate features for videos. One set of features is provided for you (Video 3 in the Avenue Dataset). To generate your own features (or put them into the correct format for this code to use), please download the latest version of:

https://github.com/alliedel/videofeatures

System Requirements

Linux with MATLAB

This code has been tested on Ubuntu 12.04. The 'core' of the implementation is in C++, though some functionality/wrapping is provided in MATLAB.

Other notes

This code was originally combined with the feature generation code before I decided to split it for usability, so if you see remnants of that code, my apologies!

anomalyframework_eccv2016's People

Contributors

alliedel avatar

Watchers

James Cloos 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.