-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Error: (,cnts,) = cv2.findContours(thres_frame.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
ValueError: not enough values to unpack (expected 3, got 2)
Solution:When i changed that (,cnts,) to cnt,_ then its working properly.
cnt here is None Type,since the update we have to define:
cnts,_ = cv2.findContours(thres_frame.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels