Closed rmitsch closed 6 years ago
Hello,
From the error it looks like frame is None. Propably opencv.capture failed to properly open your camera. Try loading an image from dist (cv2.imread) and passing it to the detectPose instead (or fix the camera issue).
Yes, exactly - was an OpenCV error. Reinstalling opencv-python
helped. Thanks for the quick response!
I've installed the OpenPose at commit https://github.com/CMU-Perceptual-Computing-Lab/openpose/commit/e38269862f05beca9497960eef3d35f9eecc0808 (as specified in the readme) and the latest version of PyOpenPose.
When executing
I get the following error:
Note quite sure what to make of this, since both https://github.com/FORTH-ModelBasedTracker/PyOpenPose/blob/master/scripts/optest.ipynb and https://github.com/FORTH-ModelBasedTracker/PyOpenPose/blob/master/PyOpenPoseLib/OpenPoseWrapper.h seem to confirm that calling
detectPose()
like this is correct.Thanks for your time!