Closed bytesByHarsh closed 5 years ago
cv2.findContours returns (image, contours, hierarchy). Therefore [1] should be used instead of [0]
Source : https://stackoverflow.com/questions/39475125/compatibility-issue-with-contourarea-in-opencv-3
Currently my program is written with OpenCV 4.0 compatibility. I have stopped supporting OpenCV 3.x
:thumbsup:
cv2.findContours returns (image, contours, hierarchy). Therefore [1] should be used instead of [0]
Source : https://stackoverflow.com/questions/39475125/compatibility-issue-with-contourarea-in-opencv-3