You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The line image, contours, hierarchy = cv2.findContours(thresh,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE) should be changed to contours, hierarchy = cv2.findContours(thresh,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE)
in the readme file.
cv2.findContours() function returns only contours and hierarchy but not the image which is given incorrectly in the documentation.
The line
image, contours, hierarchy = cv2.findContours(thresh,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE)
should be changed tocontours, hierarchy = cv2.findContours(thresh,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE)
in the readme file.
cv2.findContours()
function returns onlycontours
andhierarchy
but not the image which is given incorrectly in the documentation.OpenCv: 4.1.2
Python: 3.7.3
@abidrahmank
The text was updated successfully, but these errors were encountered: