Coder Social home page Coder Social logo

mofreak's Introduction

MoFREAK

Action recognition for surveillance scenarios with local binary feature descriptors. Work done by Chris Whiten for the VIVA Research Lab at University of Ottawa. Work was completed for TRECVID 2012, as well as further research in the action recognition domain.

Questions can be forwarded to Chris Whiten at [email protected]

Dependencies:

Usage:

The constructs for performing action recognition already exist for some datasets. Within main.cpp, there is a setParameters() function that outlines the file structure required for each dataset. Dataset can be selected at the top of main.cpp with the "dataset" variable, selected from the "datasets" enum.

To exclusively compute the MoFREAK features across a dataset, set the "state" variable at the top of main.cpp to "DETECT_MOFREAK". This will process each video file, creating a .mofreak file containing its descriptors.

To compute MoFREAK features across the dataset and perform the entire recognition pipeline, set the "state" variable to "DETECTION_TO_CLASSIFICATION". This will compute the MoFREAK files, cluster the features and compute a bag-of-words representation. Finally, it will take the bag-of-words representations and classify them with an SVM.

Feature Format:

Within a .mofreak file, each row consists of a single feature. That feature is organized as follows:

  • [x location] [y location] [frame number] [scale] [throw-away] [throw-away] [8 bytes of appearance data] [8 bytes of motion data]

The x and y location, as well as the scale, are floating point numbers. The frame number is an integer. The final 16 bytes of descriptor data are unsigned integers (1 byte per integer). The throw-away values are floating point values that should always be 0. They are simply artifacts from previous iterations of the descriptor, and should be ignored.

mofreak's People

Contributors

chriswhiten avatar craig08 avatar

Watchers

 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.