Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

questions about detecting gestures individually #5

Open
wulongyuan opened this issue Dec 20, 2019 · 1 comment
Open

questions about detecting gestures individually #5

wulongyuan opened this issue Dec 20, 2019 · 1 comment

Comments

@wulongyuan
Copy link

thanks for your sharing, i but when i run your code,some errors appear as follows:

File "gesture_detection.py", line 137, in
hand_keypoints([cv2.imread(args[0].image_path)], True)
File "gesture_detection.py", line 96, in hand_keypoints
_op_wrapper.start()
RuntimeError:
Error:
invalid vector subscript

i am looking for your help,thanks.

@mhashim6
Copy link
Member

This is a quite vague c++ error! Which version of openpose are you using? this code is tested on version 1.5.0 .

Are you running the code on Windows? the openpose lib path is not set for Windows machines, you have to set it:

OPEN_POSE_LOC_WIN = "INSERT OPEN POSE PATH HERE" # TODO

Same goes for the model path:

MODEL_LOC = "/home/mhashim6/dev/openpose/models/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants