Updated on 2022-08-08 GMT+08:00

VideoDetectResult

Function

This topic describes the result structures of Face LiveDetect.

Parameter Description

Table 1 Structure format description

Parameter

Type

Description

alive

Boolean

Whether a living figure is detected

picture

String

Base64 coding of the image in which the maximum face is detected

actions

List

Action list For details about the parameters, see Table actions field description.

Table 2 actions field description

Parameter

Type

Description

action

Integer

Action ID. Possible values are:

  • 1: Shake the head to the left.
  • 2: Shake the head to the right.
  • 3: Nod the head.
  • 4: Mouth movement

confidence

Double

Confidence level. The value ranges from 0 to 1.