FaceDetectionResultOutput interface
Response for detect API.
Properties
| face |
Face attributes for detected face. |
| face |
Unique faceId of the detected face, created by detection API and it will expire 24 hours after the detection call. To return this, it requires 'returnFaceId' parameter to be true. |
| face |
An array of 27-point face landmarks pointing to the important positions of face components. To return this, it requires 'returnFaceLandmarks' parameter to be true. |
| face |
A rectangle area for the face location on image. |
| recognition |
The 'recognitionModel' associated with this faceId. This is only returned when 'returnRecognitionModel' is explicitly set as true. Possible values: "recognition_01", "recognition_02", "recognition_03", "recognition_04" |
Property Details
faceAttributes
Face attributes for detected face.
faceAttributes?: FaceAttributesOutput
Property Value
faceId
Unique faceId of the detected face, created by detection API and it will expire 24 hours after the detection call. To return this, it requires 'returnFaceId' parameter to be true.
faceId?: string
Property Value
string
faceLandmarks
An array of 27-point face landmarks pointing to the important positions of face components. To return this, it requires 'returnFaceLandmarks' parameter to be true.
faceLandmarks?: FaceLandmarksOutput
Property Value
faceRectangle
A rectangle area for the face location on image.
faceRectangle: FaceRectangleOutput
Property Value
recognitionModel
The 'recognitionModel' associated with this faceId. This is only returned when 'returnRecognitionModel' is explicitly set as true.
Possible values: "recognition_01", "recognition_02", "recognition_03", "recognition_04"
recognitionModel?: string
Property Value
string