torchsig.image_datasets.datasets.yolo_datasets.yolo_to_pixels_on_image

torchsig.image_datasets.datasets.yolo_datasets.yolo_to_pixels_on_image(img, box)[source]

returns the (x_start, y_start, x_end, y_end) pixels of an input box in the yolo format (cx, cy, width, height) on img