Skip to content

@camera.ui/sdk / sensor / Detection

Interface: Detection

Defined in: sensor/detection.ts:29

A single detection result emitted by any detection sensor.

Extended by

Properties

attribute?

optional attribute?: "face" | "license_plate" | string & object

Defined in: sensor/detection.ts:37

Optional sub-detection attribute ('face', 'license_plate', or a classifier-specific value).


box

box: BoundingBox

Defined in: sensor/detection.ts:35

Bounding box in normalized coordinates.


confidence

confidence: number

Defined in: sensor/detection.ts:33

Confidence score in the range 0–1.


label

label: "motion" | "audio" | "person" | "vehicle" | "animal" | "package"

Defined in: sensor/detection.ts:31

Detection label (e.g. 'person', 'vehicle').