Skip to content

@camera.ui/sdk / sensor / FaceDetection

Interface: FaceDetection ​

Defined in: sensor/face.ts:20

A face detection result, extending Detection with face-specific fields.

Extends ​

Properties ​

attribute ​

attribute: "face"

Defined in: sensor/face.ts:22

Sub-detection attribute, fixed to 'face'.

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


identity? ​

optional identity?: string

Defined in: sensor/face.ts:24

Recognized identity name, filled in by the NVR after matching.


label ​

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

Defined in: sensor/detection.ts:37

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

Inherited from ​

Detection.label