Skip to content

@camera.ui/sdk / sensor / ClassifierDetection

Interface: ClassifierDetection ​

Defined in: sensor/classifier.ts:20

A classifier detection result with an open attribute for classifier categories.

Extends ​

Properties ​

attribute ​

attribute: string

Defined in: sensor/classifier.ts:22

Classifier category (e.g. 'bird', 'delivery'). Open string for any classifier.

Overrides ​

Detection.attribute


box ​

box: BoundingBox

Defined in: sensor/detection.ts:41

Bounding box in normalized coordinates.

Inherited from ​

Detection.box


confidence ​

confidence: number

Defined in: sensor/detection.ts:39

Confidence score in the range 0-1.

Inherited from ​

Detection.confidence


label ​

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

Defined in: sensor/detection.ts:37

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

Inherited from ​

Detection.label


subAttribute ​

subAttribute: string

Defined in: sensor/classifier.ts:24

Classifier sub-category (e.g. 'woodpecker', 'amazon').