← Back

ofxOpenCvDnnOpenPose

github.com/TetsuakiBaba/ofxOpenCvDnnOpenPose · @TetsuakiBaba
OF 0.10 Computer Vision Machine Learning

ofxOpenCvDnnOpenPose is an addon for openframeworks.

11 5 Last commit 7y ago Created 7y ago

Forks

Forks pushed to more recently than TetsuakiBaba/ofxOpenCvDnnOpenPose itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

n1ckfg/ofxOpenCvDnnOpenPose by @n1ckfg · ★ 0 · pushed 2y ago

README

ofxOpenCvDnnOpenPose



Description

ofxOpenCvDnnOpenPose is an addon for openframeworks.

OpenCV v.3.3.1 or upper includes some dnn modules in their own package. Therefore I designed ofxOpenCvDnnOpenPose with OpenCV v.3.3.1 or upper version.

sample gif

Usage

See Examples for more details
void setup()
{
    ofImage img;
    img.load(ofToDataPath("sample.jpg"));
    openpose.update(img.getPixels());
}
void draw()
{
    ofBackground(0);
    openpose.draw();
}


Install

1. Clone ofxOpenCvDnnOpenPose to your of/addon directory

$ git clone https://github.com/TetsuakiBaba/ofxOpenCvDnnOpenPose.git

2. Download OpenCV.framework to ofxOpenCvDnnOpenPose/libs directory.

$ curl -O http://tetsuakibaba.jp/tmp/opencv2.framework.zip $ unzip opencv2.framework.zip Or you may build your own opencv.framework from opencv source. ( http://tetsuakibaba.jp/ws/doku.php?id=opencv_dnn:opencv2.framework )

Getting Started with Examples/single_image.

1. Download models

$ sh getModels.sh

2. Update single_image with the projectGenerator. Please be sure to include only ofxOpenCvDnnOpenPose.



3. Run



Compatibility

Licence

Copyright

Author

TetsuakiBaba

Reference

1. https://ws.tetsuakibaba.jp/doku.php?id=opencv_dnn:openpose

Get this addon

HTTPS
SSH