def extract_lmjrect_pascalvoc(label_dict):
    """Extracts box coordinates from lmjson labels to pascalvoc

    Args:
        label_dict (dict): lmjson label dictionary

    Returns:
        list: Box coordinates in Pascalvoc
              [x_min, y_min, x_max, y_max]
    """
    x_min = label_dict["points"][0][0]
    y_min = label_dict["points"][0][1]
    x_max = label_dict["points"][1][0]
    y_max = label_dict["points"][1][1]
    return [x_min, y_min, x_max, y_max]