3.4 STSilentLivenessFaceEnumType

typedef NS_ENUM(NSInteger, STIDSilentLivenessFaceDistanceStatus)

Face distance in liveness detection.

TypeDescription

STIDSilentLiveness_FACE_TOO_FAR

Face is too far away from the phone

STIDSilentLiveness_FACE_TOO_CLOSE

Face is too close to the phone

STIDSilentLiveness_DISTANCE_FACE_NORMAL

Face distance normal

STIDSilentLiveness_DISTANCE_UNKNOWN

Face distance unknown

typedef NS_ENUM(NSUInteger, STIDSilentLivenessFacePositionStatus)

Faces status in liveness detection.

TypeDescription

STIDSilentLiveness_POSITION_NO_FACE

No face

STIDSilentLiveness_POSITION_FACE_NORMAL

Face inside the frame

STIDSilentLiveness_POSITION_FACE_OUT_BOUND

Face out of the frame

STIDSilentLiveness_POSITION_FACE_UNKNOW

Face unknown

typedef NS_ENUM(NSUInteger, STIDSilentLivenessFaceOrientaion)

Face orientation. The enumeration type defines four orientations: up, down, left, and right.

TypeDescription

STIDSilentLiveness_FACE_UP

Facing up, face orientation normal

STIDSilentLiveness_FACE_LEFT

Facing left, face is rotated 90 degrees counterclockwise

STIDSilentLiveness_FACE_DOWN

Facing down, face is rotated 180 degrees counterclockwise

STIDSilentLiveness_FACE_RIGHT

Facing right, face is rotated 270 degrees counterclockwise

typedef NS_ENUM(NSInteger, STIDSilentLivenessOcclusionStatus)

Liveness occlusion type.

TypeDescription

STIDSilentLiveness_UNKNOW

Unknown occlusion

STIDSilentLiveness_NORMAL

Unblocked

STIDSilentLiveness_OCCLUSION

Blocked

typedef NS_ENUM(NSInteger, STIDSilentLivenessQuailityStatus)

‌Liveness quality type.

TypeDescription

STIDSilentLiveness_QUALITY_UNKNOW

Unknown quality

STIDSilentLiveness_QUALITY_NORMAL

Normal quality

STIDSilentLiveness_QUALITY_LIGHT_DARK

Face too dark

STIDSilentLiveness_QUALITY_LIGHT_STRONG

Face too bright

STIDSilentLiveness_QUALITY_BLUR_FUZZY

Face too blur or fuzzy

Last updated