Coder Social home page Coder Social logo

louxi11 / poselets-lite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bensapp/poselets-lite

0.0 1.0 0.0 137 KB

A fast, numerically equivalent version of poselets. Speedup of ~3.5x, bare essential code only.

License: Other

MATLAB 92.90% M 4.07% C++ 3.03%

poselets-lite's Introduction

Ben Sapp
[email protected]
September 5, 2012

This is a 'lite' version of the Berkeley poselets detector, from
http://www.cs.berkeley.edu/~lbourdev/poselets/
specific version
http://www.cs.berkeley.edu/~lbourdev/poselets/poselets_h3d_code2.june17_2011.tar.gz

It has several speedups while maintaining exact numerical equivalancy.  This results in the given test image being processed in ~3 seconds instead of ~11 seconds in the 'faster_detection=true' mode.  
In addition, any non-essential functions and files were removed.

Speed Improvements:
- mex'd version of the KL divergence computation to compute Q-scores
- reuse this computed KL divergence for the linkage step, instead of recomputing 
- turned on config.USE_MEX_HOG by default, and recompiled  compute_hog_mex.mexa64 so it works

Results on test.jpg provided, running demo_poselets.m:

*before*
Computing pyramid HOG (hint: You can cache this)... Done in 1.99 secs.
Detecting poselets... Done in 1.04 secs.
Big Q...Done in 3.83 secs.
Clustering poselets... Done in 3.36 secs.
Predicting bounding boxes... Done in 0.34 secs.
Total time: 10.566993 secs

*after*
Computing pyramid HOG (hint: You can cache this)... Done in 0.74 secs.
Detecting poselets... Done in 1.02 secs.
Big Q...Done in 0.15 secs.
Clustering poselets... Done in 0.64 secs.
Predicting bounding boxes... Done in 0.28 secs.
Total time: 2.830089 secs


--------- README from original poselets work:

This folder contains self-sufficient Matlab code to demonstrate the H3D dataset and detection using poselets.
For H3D demo please run demo_annotation_tools.m
For poselet demo please run demo_poselets.

The code is distributed with non-commercial license. Please see the associated license file.
For questions or comments please email Lubomir Bourdev at [email protected]

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.