def coco2pascal(box):
    """Convert bounding box coordinates from Coco format to Pascal VOC.

    Go from [x, y, width, height] to [x1, y1, x2, y2].
    """

    x, y, width, height = box
    return [x, y, x + width, y + height]