Giter VIP home page Giter VIP logo

action_recognition's Introduction

Action recognition

@author: Junhao Hua

Action Recognition & Categories via Spatial-Temporal Features

This project is mainly based on Prior Dollar's work:

Dollár, Piotr, et al. "Behavior recognition via sparse spatio-temporal features." Visual Surveillance and Performance Evaluation of Tracking and Surveillance, 2005. 2nd Joint IEEE International Workshop on. IEEE, 2005.

toolbox

http://vision.ucsd.edu/~pdollar/toolbox/doc/index.html

Runing MyDemo.m

Feature Extraction

  1. set is_Feature_extract = 1, remove comment

    conv_movies2clips featuresLGdetect featuresLGpca featuresLGdesc

    get and save DATASETSprLG.mat

Classificaton

  1. If you just want to test a video sample using KNN or SVM, try

(1) set is_SingleAction_train = 1

(2) then, is_SingleAction_Recog = 1

a) knn b) or svm

  1. If you want to test all video samples

(1) using knn, set is_Action_knn_Classif = 1

(2)or using svm, set is_Action_svm_Classif = 1

  1. if you want to use voting methods

(1) if just test a video sample, set isCreateCodeBook = 1 set is_vote_Action_Recog = 1

(2) if test all sample, set is_vote_recog_test = 1

DATASET format

Weizmann human action dataset

(download from : http://www.wisdom.weizmann.ac.il/~vision/SpaceTimeActions.html )

set00/

ira_walk.avi

moshe_jump.avi

moshe_run.avi

...
after running feature extraction, following data generated

clip_ira_walk.mat

cuboids_ira_walk.mat

features_ira_walk.mat

...

set01/

set02/

...

set08/

file directory setting

TestDir.m
OutputDir.m
datadir.m

action_recognition's People

Contributors

huajh avatar

Watchers

 avatar  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.