@camera.ui/sdk / sensor / FaceDetection
Interface: FaceDetection
Defined in: sensor/face.ts:21
A face detection result, extending Detection with face-specific fields.
Extends
Properties
attribute
attribute:
"face"
Defined in: sensor/face.ts:23
Sub-detection attribute, fixed to 'face'.
Overrides
box
box:
BoundingBox
Defined in: sensor/detection.ts:35
Bounding box in normalized coordinates.
Inherited from
confidence
confidence:
number
Defined in: sensor/detection.ts:33
Confidence score in the range 0–1.
Inherited from
embedding?
optionalembedding?:number[]
Defined in: sensor/face.ts:27
Face embedding vector for recognition/comparison.
identity?
optionalidentity?:string
Defined in: sensor/face.ts:25
Recognized identity name, if matched against known faces.
label
label:
"motion"|"audio"|"person"|"vehicle"|"animal"|"package"
Defined in: sensor/detection.ts:31
Detection label (e.g. 'person', 'vehicle').
Inherited from
thumbnail?
optionalthumbnail?:Uint8Array<ArrayBufferLike>
Defined in: sensor/face.ts:29
JPEG thumbnail crop of the detected face.