Issue in shades.py with OpenCV 4.1.1 with fix
Avkash opened this issue · 0 comments
Avkash commented
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)