Skip to main content

ml_dl.yolo_lines_to_pixel_boxes

ml_dl.yolo_lines_to_pixel_boxes(lines, H, W)

Decode YOLO-format label rows into pixel-space (x0, y0, x1, y1) boxes.

Useful when you have predictions in YOLO normalised coords and want to compare them against ground-truth boxes drawn in pixel space.