-
Notifications
You must be signed in to change notification settings - Fork 23
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
bug: videos_to_poses crash cv2.error: OpenCV(4.5.5) 👎 error: (-5:Bad argument) in function 'VideoCapture' #135
Comments
fair point! feel free to make that tiny PR :) |
Looking into it further, it seems this was fixed in later versions of OpenCV-Python.
So another solution would be to update our requirements to use newer opencv. But I'll go ahead and do the tiny PR anyway. |
PR made! Re: OpenCV version: @AmitMY do you happen to know why we require such a specific opencv version here? https://github.com/sign-language-processing/pose/blob/master/src/python/pyproject.toml#L22 |
* CDL: minor doc typo fix * CDL: quick path-to-string fix for #135 * Undoing some changes that got mixed in
Yes, at some point we had an issue with a new version of opencv, so had to fix the version to something that worked. |
pose/src/python/pose_format/bin/pose_estimation.py
Line 21 in d384d88
Propose fix, cast to
str
. Change this:To this:
Step to replicate:
%cd /content/pose/src/python
Edit: Here's the traceback:
The text was updated successfully, but these errors were encountered: