Giter Site home page Giter Site logo

caomw / stretchable-models-for-motion-parsing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bensapp/stretchable-models-for-motion-parsing

0.0 1.0 0.0 43.73 MB

code for Benjamin Sapp, David Weiss and Ben Taskar. "Parsing Human Motion with Stretchable Models". CVPR. June 2011.

Home Page: http://vision.grasp.upenn.edu/cgi-bin/index.php?n=VideoLearning.StretchableModelsCode

C++ 49.64% MATLAB 50.15% M 0.16% Objective-C 0.05%

stretchable-models-for-motion-parsing's Introduction

Parsing Human Motion with Stretchable Models ]]. Benjamin Sapp, David Weiss and Ben Taskar. CVPR. June 2011.
Code version 1.0, October 4, 2011. 


!! Download
This project is hosted on github.  To obtain, run the command

$ git clone git://github.com/bensapp/Stretchable-Models-for-Motion-Parsing.git

from a console or download a static copy from 

https://github.com/bensapp/Stretchable-Models-for-Motion-Parsing/zipball/master


!! Usage
To run on a new image, see @@demo_stretchable_model.m@@.  If everything goes according to plan, your output should look like the animated gif example-output.gif in the base directory.

The required input is a sequence of video filenames and a list of torso detection boxes; see the example input in @@demo_stretchable_model.m@@.  The code then computes a variety of features, runs the [[Cascaded Pictorial Structures code]], and performs the simplest, most efficient of our tree ensemble inference methods.  See our paper



!! Mex compilation issues

The code makes heavy use of mex and also requires a slightly modified version of OpenCV (easier read/write and status updates in the boosting library).  I have included all source code, but have compiled binaries only for 64 bit linux (hence, *.mexa64 files).  Please ask if you have any difficulties compiling any of the mex files in any other environment.  Also, if you DO compile binaries in other environments (e.g., mexmaci, mexglx, windows), please let me know and I can add them to the download to make it easier for others.

If you're running in a 64 bit linux environment, make sure your LD_LIBRARY_PATH is set to correctly use the OpenCV libs included in @@stretchable-models/cps/thirdparty/OpenCV-2.0.0/lib/@@

You can check this inside matlab using the command '!ldd mex_file.mexa64' for example.


!! Processing Pipeline & Timing
For a video sequence, here is a breakdown of the steps and time each step takes:

*Run Cascaded PS (including HoG detectors, pb, ncut and associated features): ~5 minutes / frame
*Compute optical flow: 15-20 seconds / frame
*Compute additional features, collect all features and discretize: 1 minute / frame and 90MB / frame
*Inference: 1 second / frame

This was evaluated on this machine: 
Linux 2.6.31.5-0.1-default x86_64 GNU/Linux 
Intel(R) Xeon(R) CPU E5450  @ 3.00GHz (w/ 8 cpus)
MATLAB R2010b



stretchable-models-for-motion-parsing's People

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.