BoundingBoxFormat
- class torchvision.tv_tensors.BoundingBoxFormat(value)[source]
Coordinate format of a bounding box.
Available formats are:
XYXY: bounding box represented via corners; x1, y1 being top left; x2, y2 being bottom right.XYWH: bounding box represented via corner, width and height; x1, y1 being top left; w, h being width and height.CXCYWH: bounding box represented via centre, width and height; cx, cy being center of box; w, h being width and height.: rotated boxes represented via corner, width and height; x1, y1 being top left; w, h being width and height. r is rotation angle in degrees.