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

Value Error #1

Open
subin-abraham opened this issue Mar 14, 2022 · 2 comments
Open

Value Error #1

subin-abraham opened this issue Mar 14, 2022 · 2 comments

Comments

@subin-abraham
Copy link

image

Please Help

@subin-abraham subin-abraham changed the title Issue while coding Value Error Mar 14, 2022
@ShyZen15
Copy link

I am also getting the same error apparently. It has been like 2 years, how did you fix it ??

@Shivam7Sharma
Copy link

I am also getting the same error apparently. It has been like 2 years, how did you fix it ??

contours, _ = cv2.findContours(line.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_NONE)

# Replace this line:
(_, contours, _) = cv2.findContours(thresholded_region.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)

# With this code:
contours, _ = cv2.findContours(thresholded_region.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)

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

3 participants