Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

doesn't work with the new version of opencv #1

Open
AlexandreDewilde opened this issue Jan 13, 2019 · 0 comments
Open

doesn't work with the new version of opencv #1

AlexandreDewilde opened this issue Jan 13, 2019 · 0 comments

Comments

@AlexandreDewilde
Copy link

AlexandreDewilde commented Jan 13, 2019

cv2.findContours() has been changed in the new version of opencv
https://github.com/akshaychandra21/Selfie_Filters_OpenCV/blob/9dd59ae72716fe25370ff2a396bc812b42766f69/shades.py#L48
Should add a requirements.txt file or fix like this (cnts, _) = cv2.findContours(blueMask.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant