OpenCV2-Python-Tutorials icon indicating copy to clipboard operation
OpenCV2-Python-Tutorials copied to clipboard

Update README.md file

Open afrozchakure opened this issue 5 years ago • 0 comments

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.

OpenCv: 4.1.2 Python: 3.7.3

@abidrahmank

afrozchakure avatar May 04 '20 18:05 afrozchakure