unproject_text icon indicating copy to clipboard operation
unproject_text copied to clipboard

cv2.findContours fix

Open sumanmichael opened this issue 3 years ago • 0 comments

in the 135 line changed this

_, contours, hierarchy = cv2.findContours(work, cv2.RETR_CCOMP, cv2.CHAIN_APPROX_NONE)

to this

contours, hierarchy = cv2.findContours(work, cv2.RETR_CCOMP, cv2.CHAIN_APPROX_NONE)

it's because in a previous version of opencv that function used to return 3 values, now it returns just 2 values

sumanmichael avatar May 19 '21 06:05 sumanmichael