Awesome Open Source
Awesome Open Source
Sponsorship

PyOpenPose

Python bindings for the awesome Openpose library.

Openpose github page

Building

Clone and build openpose. If you use cmake then make install will copy all necessary headers and libs to an install forder that you specify (default is /usr/local).

Set an environment variable named OPENPOSE_ROOT pointing to the openpose install folder. For running the example scripts make sure OPENPOSE_ROOT contains a models folder with the openpose models.

Note: Openpose lib is under heavy development and the API changes very often. Some API changes will break PyOpenPose. I try to upgrade as soon as possible but I am usually a few days behind. Openning an issue helps to speed-up the proccess. Current PyOpenPose version is built with openpose commit e382698

Note: PyOpenPose requires opencv3.x. You will have to build openpose with opencv3 as well.

Inside the root folder of PyOpenpose run cmake and build with:

mkdir build
cd build
cmake ..
make

Add the folder containing PyOpenPose.so to your PYTHONPATH.

Building the library for python3 or python2

  • Set WITH_PYTHON3 flag in cmake to True (i.e with cmake-gui).
  • rebuild project

Testing

Check the scripts folder for python examples using PyOpenPose.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
python (47,717
jupyter-notebook (5,344
wrapper (209
openpose (24
python-bindings (17

Find Open Source By Browsing 7,000 Topics Across 59 Categories