import cv2

def getOutermostContour(contours):
    if(len(contours) == 0):
        return
    outermost_contour = contours[0]
    for cnt in contours:
        if cv2.contourArea(cnt) > cv2.contourArea(outermost_contour):
            outermost_contour = cnt
    return outermost_contour
86abbd5e3720a8c60eb559e79dd245cc2a27d9a9
<mask token>

<mask token>


def getOutermostContour(contours):
    if len(contours) == 0:
        return
    outermost_contour = contours[0]
    for cnt in contours:
        if cv2.contourArea(cnt) > cv2.contourArea(outermost_contour):
            outermost_contour = cnt
    return outermost_contour

import cv2


def getOutermostContour(contours):
    if len(contours) == 0:
        return
    outermost_contour = contours[0]
    for cnt in contours:
        if cv2.contourArea(cnt) > cv2.contourArea(outermost_contour):
            outermost_contour = cnt
    return outermost_contour

import cv2

def getOutermostContour(contours):
    if(len(contours) == 0):
        return
    outermost_contour = contours[0]
    for cnt in contours:
        if cv2.contourArea(cnt) > cv2.contourArea(outermost_contour):
            outermost_contour = cnt
    return outermost_contour