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

Issue in shades.py with OpenCV 4.1.1 with fix #2

Open
Avkash opened this issue Nov 27, 2019 · 0 comments
Open

Issue in shades.py with OpenCV 4.1.1 with fix #2

Avkash opened this issue Nov 27, 2019 · 0 comments

Comments

@Avkash
Copy link

Avkash commented Nov 27, 2019

With OpenCV 4.1.1 you need to change shades.py as below:

Line 48-49
(_, cnts, _) = cv2.findContours(blueMask.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)

Changed to:
(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