def convert_pascal_bbox_to_coco(xmin, ymin, xmax, ymax):
    """
    pascal: top-left-x, top-left-y, x-bottom-right, y-bottom-right
    coco:   top-left-x, top-left-y, width and height
    """
    return [xmin, ymin, xmax - xmin, ymax - ymin]