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 = 1000

    Swift

    case INITIALIZATION_ERROR = 1000
  • DEPRECATED. Bad quality. Means that image has nothing that can be recognized

    Declaration

    Objective-C

    BAD_QUALITY = 1001

    Swift

    case BAD_QUALITY = 1001
  • The user’s head is not stright to the camera

    Declaration

    Objective-C

    BAD_HEAD_POSE = 1002

    Swift

    case BAD_HEAD_POSE = 1002
  • Multiple faces were detected in the frame.

    Declaration

    Objective-C

    MULTIPLE_FACES = 1003

    Swift

    case MULTIPLE_FACES = 1003
  • Liveness check has not been passed.

    Declaration

    Objective-C

    LIVENESS_ERROR = 1004

    Swift

    case LIVENESS_ERROR = 1004
  • Face track has ended.

    Declaration

    Objective-C

    TRACK_END = 1005

    Swift

    case TRACK_END = 1005
  • Need to blink.

    Declaration

    Objective-C

    NEED_TO_BLINK = 1006

    Swift

    case NEED_TO_BLINK = 1006
  • Interaction timeout.

    Declaration

    Objective-C

    INTERACTION_TIMEOUT = 1007

    Swift

    case INTERACTION_TIMEOUT = 1007
  • NOT USING ANYWHERE. Medical mask is on the face.

    Declaration

    Objective-C

    MASK = 1008

    Swift

    case MASK = 1008
  • NOT USING ANYWHERE. Mask is not on the right place.

    Declaration

    Objective-C

    MASK_NOT_IN_PLACE = 1009

    Swift

    case MASK_NOT_IN_PLACE = 1009
  • Face is occluded by something.

    Declaration

    Objective-C

    OCCLUDED_FACE = 1010

    Swift

    case OCCLUDED_FACE = 1010
  • The image is blurred.

    Declaration

    Objective-C

    IMAGE_IS_BLURRED = 1011

    Swift

    case IMAGE_IS_BLURRED = 1011
  • The Image is too dark.

    Declaration

    Objective-C

    IMAGE_IS_UNDEREXPOSED = 1012

    Swift

    case IMAGE_IS_UNDEREXPOSED = 1012
  • The image is too bright.

    Declaration

    Objective-C

    IMAGE_IS_OVEREXPOSED = 1013

    Swift

    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 = 1014

    Swift

    case IMAGE_IS_ILLUMINATED_UNEVENLY = 1014
  • NOT USING ANYWHERE. Image contains flares on face (too specular).

    Declaration

    Objective-C

    IMAGE_IS_TOO_SPECULAR = 1015

    Swift

    case IMAGE_IS_TOO_SPECULAR = 1015
  • The face is too far from camera.

    Declaration

    Objective-C

    TOO_FAR = 1016

    Swift

    case TOO_FAR = 1016
  • The face ovelapses borders of recognizable area.

    Declaration

    Objective-C

    BORDERS = 1017

    Swift

    case BORDERS = 1017
  • Rotate you head to the left

    Declaration

    Objective-C

    ROTATE_HEAD_LEFT = 1018

    Swift

    case ROTATE_HEAD_LEFT = 1018
  • Rotate you head to the right

    Declaration

    Objective-C

    ROTATE_HEAD_RIGHT = 1019

    Swift

    case ROTATE_HEAD_RIGHT = 1019
  • Move your head down

    Declaration

    Objective-C

    ROTATE_HEAD_DOWN = 1020

    Swift

    case ROTATE_HEAD_DOWN = 1020
  • Move your head up

    Declaration

    Objective-C

    ROTATE_HEAD_UP = 1021

    Swift

    case ROTATE_HEAD_UP = 1021
  • The face which was trackable now left the frame

    Declaration

    Objective-C

    FACE_LOST = 1022

    Swift

    case FACE_LOST = 1022
  • primary face is lost and not found in frame

    Declaration

    Objective-C

    PRIMARY_FACE_LOST = 1023

    Swift

    case PRIMARY_FACE_LOST = 1023
  • Sunglasses were found in frame

    Declaration

    Objective-C

    SUNGLASSES_DETECTED = 1024

    Swift

    case SUNGLASSES_DETECTED = 1024
  • Failed to check the license

    Declaration

    Objective-C

    LICENSE_CHECK_FAILED = 1025

    Swift

    case LICENSE_CHECK_FAILED = 1025
  • Eyes state is not open

    Declaration

    Objective-C

    EYES_CHECK_FAILED = 1026

    Swift

    case EYES_CHECK_FAILED = 1026
  • Critical error with primary face

    Declaration

    Objective-C

    PRIMARY_FACE_CRITICAL_LOST = 1027

    Swift

    case PRIMARY_FACE_CRITICAL_LOST = 1027
  • Face was not found in first frames

    Declaration

    Objective-C

    FACE_NOT_FOUND = 1028

    Swift

    case FACE_NOT_FOUND = 1028
  • Mouth is occluded by something.

    Declaration

    Objective-C

    MOUTH_OCCLUDED = 1029

    Swift

    case MOUTH_OCCLUDED = 1029
  • Mouth is occluded by something.

    Declaration

    Objective-C

    UNKNOWN_STATE = 1030

    Swift

    case UNKNOWN_STATE = 1030
  • Face is occluded by something

    Declaration

    Objective-C

    LOWER_FACE_OCCLUDED = 1031

    Swift

    case LOWER_FACE_OCCLUDED = 1031
  • Plan file not found on disk

    Declaration

    Objective-C

    PLAN_FILE_ABSENT = 1032

    Swift

    case PLAN_FILE_ABSENT = 1032
  • Nose zone is occluded by something

    Declaration

    Objective-C

    NOSE_OCCLUDED = 1033

    Swift

    case NOSE_OCCLUDED = 1033
  • Eyes zone is occluded by something

    Declaration

    Objective-C

    EYES_OCCLUDED = 1034

    Swift

    case EYES_OCCLUDED = 1034
  • Forehead zone is occluded by something

    Declaration

    Objective-C

    FOREHEAD_OCCLUDED = 1035

    Swift

    case FOREHEAD_OCCLUDED = 1035
  • User has eyeglasses on face

    Declaration

    Objective-C

    EYEGLASSES_DETECTED = 1036

    Swift

    case EYEGLASSES_DETECTED = 1036
  • Interaction ended

    Declaration

    Objective-C

    CURRENT_INTERACTION_FINISHED = 1037

    Swift

    case CURRENT_INTERACTION_FINISHED = 1037