I am trying to do a simple area calculation of contours I get from findContours. My openCv version is 3.1.0
My code is:
cc = cv2.findContours(im_bw.c
Thanks for @ZdaR; By the way, you can do the following in OpenCV 4.1:
contours, hierarchy = cv2.findContours(im_bw.copy(), cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)