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

cv2.findContours() updated in newer versions #292

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BalahariVignesh
Copy link

cv2.findContours() no longer makes changes on the source image. (Newer Versions)
It takes in only 2 arguments instead of 3 as shown in the block of code. Upon executing the code, error will be thrown stating "only returns two objects, you're trying to unpack it into three."
Added a small note, how to deal with it if the user is using a newer version of OpenCV later than 3.2

cv2.findContours() no longer makes changes on the source image. (Newer Versions)
It takes in only 2 arguments instead of 3 as shown in the block of code. Upon executing the code, error will be thrown stating "only returns two objects, you're trying to unpack it into three."
Added a small note, how to deal with it if the user is using a newer version of OpenCV later than 3.2
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

Successfully merging this pull request may close these issues.

1 participant