We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I put a video and I get the following error when I run it:
python test.py Traceback (most recent call last): File "test.py", line 123, in contours, hierarchy = cv2.findContours(thresholdImage, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE) ValueError: too many values to unpack [1] 16217 segmentation fault (core dumped) python test.py
The text was updated successfully, but these errors were encountered:
replace the following code in the test.py:
contours, hierarchy = cv2.findContours(thresholdImage, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE) to (_,contours, hierarchy) = cv2.findContours(thresholdImage, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
Sorry, something went wrong.
No branches or pull requests
I put a video and I get the following error when I run it:
python test.py
Traceback (most recent call last):
File "test.py", line 123, in
contours, hierarchy = cv2.findContours(thresholdImage, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
ValueError: too many values to unpack
[1] 16217 segmentation fault (core dumped) python test.py
The text was updated successfully, but these errors were encountered: