BestShotError
Objective-C
enum BestShotError : NSInteger {}
Swift
enum BestShotError : Int, @unchecked Sendable
List of error codes of the LunaCore module.
-
LunaCore module initialization error.
Declaration
Objective-C
INITIALIZATION_ERROR = 1000Swift
case INITIALIZATION_ERROR = 1000 -
DEPRECATED. Bad quality. Means that image has nothing that can be recognized
Declaration
Objective-C
BAD_QUALITY = 1001Swift
case BAD_QUALITY = 1001 -
The user’s head is not stright to the camera
Declaration
Objective-C
BAD_HEAD_POSE = 1002Swift
case BAD_HEAD_POSE = 1002 -
Multiple faces were detected in the frame.
Declaration
Objective-C
MULTIPLE_FACES = 1003Swift
case MULTIPLE_FACES = 1003 -
Liveness check has not been passed.
Declaration
Objective-C
LIVENESS_ERROR = 1004Swift
case LIVENESS_ERROR = 1004 -
Face track has ended.
Declaration
Objective-C
TRACK_END = 1005Swift
case TRACK_END = 1005 -
Need to blink.
Declaration
Objective-C
NEED_TO_BLINK = 1006Swift
case NEED_TO_BLINK = 1006 -
Interaction timeout.
Declaration
Objective-C
INTERACTION_TIMEOUT = 1007Swift
case INTERACTION_TIMEOUT = 1007 -
NOT USING ANYWHERE. Medical mask is on the face.
Declaration
Objective-C
MASK = 1008Swift
case MASK = 1008 -
NOT USING ANYWHERE. Mask is not on the right place.
Declaration
Objective-C
MASK_NOT_IN_PLACE = 1009Swift
case MASK_NOT_IN_PLACE = 1009 -
Face is occluded by something.
Declaration
Objective-C
OCCLUDED_FACE = 1010Swift
case OCCLUDED_FACE = 1010 -
The image is blurred.
Declaration
Objective-C
IMAGE_IS_BLURRED = 1011Swift
case IMAGE_IS_BLURRED = 1011 -
The Image is too dark.
Declaration
Objective-C
IMAGE_IS_UNDEREXPOSED = 1012Swift
case IMAGE_IS_UNDEREXPOSED = 1012 -
The image is too bright.
Declaration
Objective-C
IMAGE_IS_OVEREXPOSED = 1013Swift
case IMAGE_IS_OVEREXPOSED = 1013 -
NOT USING ANYWHERE. The face in the image is illuminated unevenly (there is a great difference between light and dark regions).
Declaration
Objective-C
IMAGE_IS_ILLUMINATED_UNEVENLY = 1014Swift
case IMAGE_IS_ILLUMINATED_UNEVENLY = 1014 -
NOT USING ANYWHERE. Image contains flares on face (too specular).
Declaration
Objective-C
IMAGE_IS_TOO_SPECULAR = 1015Swift
case IMAGE_IS_TOO_SPECULAR = 1015 -
The face is too far from camera.
Declaration
Objective-C
TOO_FAR = 1016Swift
case TOO_FAR = 1016 -
The face ovelapses borders of recognizable area.
Declaration
Objective-C
BORDERS = 1017Swift
case BORDERS = 1017 -
Rotate you head to the left
Declaration
Objective-C
ROTATE_HEAD_LEFT = 1018Swift
case ROTATE_HEAD_LEFT = 1018 -
Rotate you head to the right
Declaration
Objective-C
ROTATE_HEAD_RIGHT = 1019Swift
case ROTATE_HEAD_RIGHT = 1019 -
Move your head down
Declaration
Objective-C
ROTATE_HEAD_DOWN = 1020Swift
case ROTATE_HEAD_DOWN = 1020 -
Move your head up
Declaration
Objective-C
ROTATE_HEAD_UP = 1021Swift
case ROTATE_HEAD_UP = 1021 -
The face which was trackable now left the frame
Declaration
Objective-C
FACE_LOST = 1022Swift
case FACE_LOST = 1022 -
primary face is lost and not found in frame
Declaration
Objective-C
PRIMARY_FACE_LOST = 1023Swift
case PRIMARY_FACE_LOST = 1023 -
Sunglasses were found in frame
Declaration
Objective-C
SUNGLASSES_DETECTED = 1024Swift
case SUNGLASSES_DETECTED = 1024 -
Failed to check the license
Declaration
Objective-C
LICENSE_CHECK_FAILED = 1025Swift
case LICENSE_CHECK_FAILED = 1025 -
Eyes state is not open
Declaration
Objective-C
EYES_CHECK_FAILED = 1026Swift
case EYES_CHECK_FAILED = 1026 -
Critical error with primary face
Declaration
Objective-C
PRIMARY_FACE_CRITICAL_LOST = 1027Swift
case PRIMARY_FACE_CRITICAL_LOST = 1027 -
Face was not found in first frames
Declaration
Objective-C
FACE_NOT_FOUND = 1028Swift
case FACE_NOT_FOUND = 1028 -
Face was not found in first frames
Declaration
Objective-C
UNKNOWN_STATE = 1030Swift
case UNKNOWN_STATE = 1030 -
Face is occluded by something
Declaration
Objective-C
LOWER_FACE_OCCLUDED = 1031Swift
case LOWER_FACE_OCCLUDED = 1031 -
Plan file not found on disk
Declaration
Objective-C
PLAN_FILE_ABSENT = 1032Swift
case PLAN_FILE_ABSENT = 1032 -
Nose zone is occluded by something
Declaration
Objective-C
NOSE_OCCLUDED = 1033Swift
case NOSE_OCCLUDED = 1033 -
Eyes zone is occluded by something
Declaration
Objective-C
EYES_OCCLUDED = 1034Swift
case EYES_OCCLUDED = 1034 -
Forehead zone is occluded by something
Declaration
Objective-C
FOREHEAD_OCCLUDED = 1035Swift
case FOREHEAD_OCCLUDED = 1035 -
User has eyeglasses on face
Declaration
Objective-C
EYEGLASSES_DETECTED = 1036Swift
case EYEGLASSES_DETECTED = 1036 -
Interaction ended
Declaration
Objective-C
CURRENT_INTERACTION_FINISHED = 1037Swift
case CURRENT_INTERACTION_FINISHED = 1037
BestShotError Enumeration Reference