FaceExpression

Function

This topic describes facial expression structures.

Parameter description

Table 1 Structure format description

Parameter

Type

Description

type

String

Facial expression

  • neutral: neutral
  • happy: happy
  • fear: scared
  • surprise: surprised
  • sad: sad
  • angry: angry
  • disgust: disgusted
  • unknown: The image quality too poor to identify the facial expression.

probability

Double

Facial expression confidence score. The value range is [0, 1].