def METHOD_NAME(contours, image_shape):
    height, width = image_shape[0], image_shape[1]
    for contour in contours:
        contour[::2] = [x * 1.0 / width for x in contour[::2]]
        contour[1::2] = [y * 1.0 / height for y in contour[1::2]]
    return contours