Table of Contents

Enum BoundingBoxFormat

Namespace
AiDotNet.Augmentation.Image
Assembly
AiDotNet.dll

Specifies the format of bounding box coordinates.

public enum BoundingBoxFormat

Fields

COCO = 4

[x_min, y_min, width, height] - COCO format (same as XYWH).

CXCYWH = 2

[x_center, y_center, width, height] - Center point with dimensions.

PascalVOC = 5

[x_min, y_min, x_max, y_max] - Pascal VOC format (same as XYXY).

XYWH = 1

[x_min, y_min, width, height] - Top-left corner with dimensions.

XYXY = 0

[x_min, y_min, x_max, y_max] - Absolute pixel coordinates.

YOLO = 3

[x_center, y_center, width, height] normalized to [0, 1] - YOLO format.