1 | initial version |
Your contours are not closed. In this case the contour area is calculated as a line. By the way: the arc length of a 1px wide line is around twice as long as it should be. This is because of the algorithm used in findContours.