FORTH-ModelBasedTracker / PyOpenPose

Python bindings for the Openpose library
BSD 3-Clause "New" or "Revised" License
287 stars 80 forks source link

How to fix the boost problem? #81

Closed Vincent-2017 closed 5 years ago

Vincent-2017 commented 5 years ago

When I run the heat_map.py, the error raises. Traceback (most recent call last): File "/home/mrfan/Documents/3dhand/heat_map.py", line 25, in <module> op.detectHands(rgb, vec) Boost.Python.ArgumentError: Python argument types in OpenPose.detectHands(OpenPose, NoneType, numpy.ndarray) did not match C++ signature: detectHands(OpenPoseWrapper {lvalue}, cv::Mat, cv::Mat) detectHands(OpenPoseWrapper {lvalue}, cv::Mat) How to fix it?

Vincent-2017 commented 5 years ago

I find the reason is that the input image is NoneType ...