@camera.ui/sdk / sensor / BoundingBox
Interface: BoundingBox
Defined in: sensor/detection.ts:17
Bounding box of a detection. All coordinates are normalized to 0–1 (fraction of frame dimensions), so they are independent of resolution.
Properties
height
height:
number
Defined in: sensor/detection.ts:25
Height as a fraction of frame height (0–1).
width
width:
number
Defined in: sensor/detection.ts:23
Width as a fraction of frame width (0–1).
x
x:
number
Defined in: sensor/detection.ts:19
X coordinate of the top-left corner (0–1).
y
y:
number
Defined in: sensor/detection.ts:21
Y coordinate of the top-left corner (0–1).