tello-openpose icon indicating copy to clipboard operation
tello-openpose copied to clipboard

pybind11 error

Open S4dr opened this issue 5 years ago • 0 comments

I got errors when I try to test OP.py

The error I get is:

Traceback (most recent call last): File "OP.py", line 454, in nb_persons,body_kps,face_kps = my_op.eval(frame) File "OP.py", line 215, in eval self.opWrapper.emplaceAndPop([self.datum]) TypeError: emplaceAndPop(): incompatible function arguments. The following argument types are supported: 1. (self: openpose.pyopenpose.WrapperPython, arg0: std::vector<std::shared_ptrop::Datum, std::allocator<std::shared_ptrop::Datum > >) -> bool Invoked with: <openpose.pyopenpose.WrapperPython object at 0x7f86d8a14ed8>, [<openpose.pyopenpose.Datum object at 0x7f86d8a14f10>] Did you forget to #include <pybind11/stl.h>? Or <pybind11/complex.h>, <pybind11/functional.h>, <pybind11/chrono.h>, etc. Some automatic conversions are optional and require extra headers to be included when compiling your pybind11 module.

How can I resolve this?

S4dr avatar Oct 30 '20 11:10 S4dr