@camera.ui/sdk / plugin / FaceEmbeddingPluginResponse
Interface: FaceEmbeddingPluginResponse ​
Defined in: plugin/interfaces.ts:94
Result of a face embedding run on a single image.
Properties ​
embedding ​
embedding:
number[]
Defined in: plugin/interfaces.ts:96
Embedding vector for the face, empty when no face could be embedded.
embeddingModel ​
embeddingModel:
string
Defined in: plugin/interfaces.ts:98
Model that produced the embedding; consumers must not mix models.
landmarks? ​
optionallandmarks?:Point[]
Defined in: plugin/interfaces.ts:100
The five points the face was aligned on, in 0 - 1 of the input image: right eye, left eye, nose, right and left mouth corner.
quality? ​
optionalquality?:number
Defined in: plugin/interfaces.ts:102
How clearly the picture shows a face (0 - 1), also sent with an empty embedding when the face was too unclear; not sent when the landmarks were passed in.