opencv mendapatkan area kontur

import cv2

# ... find your contour (cnt) ...

area = cv2.contourArea(cnt)
wolf-like_hunter