Skip to content

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