RecognitionError
enum RecognitionError : UInt, @unchecked Sendable
The face recognition failure reason
-
Indicates no failure
Declaration
Swift
case none = 0 -
Indicates internal failure
Declaration
Swift
case genericFailure = 1 -
Indicates face pose is incorrect
Declaration
Swift
case faceNotFrontal = 2 -
Indicates eyes are not visible
Declaration
Swift
case faceEyeRegionNotVisible = 3 -
Indicates face is too bright
Declaration
Swift
case excessiveFaceBrightness = 4 -
Indicates face is too blurred
Declaration
Swift
case excessiveImageBlurDetected = 5 -
Indicates face is not found in verify image
Declaration
Swift
case faceNotFound = 6 -
Indicates multiple face found in verify image
Declaration
Swift
case multipleFaceFound = 7 -
Indicates verify image has content decoding error
Declaration
Swift
case contentDecodingError = 8 -
Indicates image size is too large
Declaration
Swift
case imageSizeIsTooLarge = 9 -
Indicates image size is too small
Declaration
Swift
case imageSizeIsTooSmall = 10 -
Indicates image is with unsupported media type
Declaration
Swift
case unsupportedMediaType = 11 -
Indicates mouth region is not visible
Declaration
Swift
case faceMouthRegionNotVisible = 12 -
Indicates a mask has been detected
Declaration
Swift
case faceWithMaskDetected = 13