def METHOD_NAME(points, height):
    """
    Return cv2 style contour from a label. Requires img height so the y values can be correct
    @param points: list of points from a label in format [{'x': 542.4, 'y': 5454}, {'x': 232.12, 'y': 652}, ...]
    @param height: height of the image the contour comes from. Use img.shape[0]
    ex:
    def cb(label, img):
        for key in label['Label']: # For each class
            for polygon in label['Label'][key]: # For each segmentation with that class
                points = LabelBoxParser.label_to_contour(polygon, img.shape[0])
                cv2.drawContours(img, [points], -1, (255, 255, 255), 3)
    """
    polygon = points["polygon"]
    nppts = np.zeros((len(polygon), 2))
    for i, pt in enumerate(polygon):
        nppts[i, 0] = int(pt["x"])
        nppts[i, 1] = int(pt["y"])
    return np.array(nppts, dtype=int)