Skip to content

softbankrobotics-research/PyOpenPose

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 62ad073

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.

About

Python bindings for the Openpose library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 89.0%
  • C++ 7.4%
  • Python 2.5%
  • Other 1.1%