def yolo_pixel_2_pascal_pixel(boxes, shape):
    """
    Converts bounding boxes from YOLO pixel format (center_x, center_y, width, height)
    to Pascal VOC pixel format (LTRB).

    @param boxes: numpy array of shape (N, 4), bounding boxes in YOLO format.
    @param shape: tuple, the shape of the image (height, width).

    @return: numpy array of shape (N, 4), bounding boxes in Pascal VOC format.
    """
    bbox = np.empty((0, 4), dtype=boxes.dtype)
    if boxes.size != 0:
        x_top = np.array(boxes[:, 0]) - np.floor(np.array(boxes[:, 2]) / 2)
        y_top = np.array(boxes[:, 1]) - np.floor(np.array(boxes[:, 3]) / 2)
        x_bottom = np.array(boxes[:, 0]) + np.floor(np.array(boxes[:, 2]) / 2)
        y_bottom = np.array(boxes[:, 1]) + np.floor(np.array(boxes[:, 3]) / 2)
        bbox = np.stack((x_top, y_top, x_bottom, y_bottom), axis=1)
    return bbox

    Converts bounding boxes from YOLO pixel format (center_x, center_y, width, height)
    to Pascal VOC pixel format (LTRB).

    @param boxes: numpy array of shape (N, 4), bounding boxes in YOLO format.
    @param shape: tuple, the shape of the image (height, width).

    @return: numpy array of shape (N, 4), bounding boxes in Pascal VOC format.
    
python/deeplake/integrations/mmdet/mmdet_dataset_.py