First time here? Check out the FAQ!
answered 2019-04-13 15:06:25 -0600
When using opencv4 or later. I used OpenCV4.1.0. In line 79, rem it out #cnt = sorted(blackboard_cnts, key = cv2.contourArea, reverse = True)[0]
#cnt = sorted(blackboard_cnts, key = cv2.contourArea, reverse = True)[0]