@camera.ui/sdk / sensor / Detection
Interface: Detection
Defined in: sensor/detection.ts:35
A single detection result emitted by any detection sensor.
Extended by
Properties
attribute?
optionalattribute?:"face"|"license_plate"|string&object
Defined in: sensor/detection.ts:43
Optional sub-detection attribute ('face', 'license_plate', or a classifier-specific value).
box
box:
BoundingBox
Defined in: sensor/detection.ts:41
Bounding box in normalized coordinates.
confidence
confidence:
number
Defined in: sensor/detection.ts:39
Confidence score in the range 0-1.
label
label:
"motion"|"audio"|"person"|"vehicle"|"animal"
Defined in: sensor/detection.ts:37
Detection label (e.g. 'person', 'vehicle').