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

End-to-end #10

Closed
Yafaa opened this issue Jul 27, 2020 · 2 comments
Closed

End-to-end #10

Yafaa opened this issue Jul 27, 2020 · 2 comments

Comments

@Yafaa
Copy link

Yafaa commented Jul 27, 2020

image
Everytime i run the findContours function from cv2

@quangnhat185
Copy link
Owner

quangnhat185 commented Jul 27, 2020

Hello Yafaa,

I believe this problem occurred due to inappropriate OpenCV version. I guess are using a version lower than 4.2.0.
You can either try to upgrade your OpenCV or replace the code as:

cont = cv2.findContours(binary, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)

@Yafaa
Copy link
Author

Yafaa commented Jul 28, 2020 via email

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