@camera.ui/sdk / sensor / BoundingBox
Interface: BoundingBox
Defined in: sensor/detection.ts:23
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:31
Height as a fraction of frame height (0-1).
width
width:
number
Defined in: sensor/detection.ts:29
Width as a fraction of frame width (0-1).
x
x:
number
Defined in: sensor/detection.ts:25
X coordinate of the top-left corner (0-1).
y
y:
number
Defined in: sensor/detection.ts:27
Y coordinate of the top-left corner (0-1).