MonocularRGB_3D_Handpose_WACV18 icon indicating copy to clipboard operation
MonocularRGB_3D_Handpose_WACV18 copied to clipboard

Python argument types did not match C++ signature

Open love1323 opened this issue 5 years ago • 1 comments

Hello, when I run handpose.py met

Traceback (most recent call last): File "handpose.py", line 214, in mono_hand_loop(acq, (640,480), config, track=True, with_renderer=True) File "handpose.py", line 113, in mono_hand_loop rgbKp = IK.Observations(IK.ObservationType.COLOR, clb, keypoints) Boost.Python.ArgumentError: Python argument types in Observations.init(Observations, ObservationType, CameraMeta, numpy.ndarray) did not match C++ signature: init(_object*, ObservationType, MBV::Core::CameraMeta, cv::Mat, float, int) init(_object*, ObservationType, MBV::Core::CameraMeta, cv::Mat) init(_object*) init(_object*)

my environment: python 3.5 numpy 1.16 opencv-python 3.4.3

love1323 avatar Apr 23 '19 08:04 love1323

It looks like the issue is on the boost python defined type conversions. Have you imported PyMBVCore in your script?

padeler avatar Apr 23 '19 13:04 padeler