contours2, hierarchy2 = cv2.findContours(gray, cv2.RETR_CCOMP,cv2.CHAIN_APPROX_NONE) ((cx,cy),radius) = cv2.minEnclosingCircle(contours2) area = radius * radius * np.p