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