Enum RecognitionFailureReason

    • Enum Constant Detail

      • GENERIC_FAILURE

        public static final RecognitionFailureReason GENERIC_FAILURE
        Generic failure recognition failure reason.
      • FACE_NOT_FRONTAL

        public static final RecognitionFailureReason FACE_NOT_FRONTAL
        Face not frontal recognition failure reason.
      • FACE_EYE_REGION_NOT_VISIBLE

        public static final RecognitionFailureReason FACE_EYE_REGION_NOT_VISIBLE
        Face eye region not visible recognition failure reason.
      • EXCESSIVE_FACE_BRIGHTNESS

        public static final RecognitionFailureReason EXCESSIVE_FACE_BRIGHTNESS
        Excessive face brightness recognition failure reason.
      • EXCESSIVE_IMAGE_BLUR_DETECTED

        public static final RecognitionFailureReason EXCESSIVE_IMAGE_BLUR_DETECTED
        Excessive image blur detected recognition failure reason.
      • FACE_NOT_FOUND

        public static final RecognitionFailureReason FACE_NOT_FOUND
        Face not found recognition failure reason.
      • MULTIPLE_FACE_FOUND

        public static final RecognitionFailureReason MULTIPLE_FACE_FOUND
        Multiple face found recognition failure reason.
      • CONTENT_DECODING_ERROR

        public static final RecognitionFailureReason CONTENT_DECODING_ERROR
        Content decoding error recognition failure reason.
      • IMAGE_SIZE_IS_TOO_LARGE

        public static final RecognitionFailureReason IMAGE_SIZE_IS_TOO_LARGE
        Image size is too large recognition failure reason.
      • IMAGE_SIZE_IS_TOO_SMALL

        public static final RecognitionFailureReason IMAGE_SIZE_IS_TOO_SMALL
        Image size is too small recognition failure reason.
      • UNSUPPORTED_MEDIA_TYPE

        public static final RecognitionFailureReason UNSUPPORTED_MEDIA_TYPE
        Image meida type is not supported recognition failure reason.
      • FACE_MOUTH_REGION_NOT_VISIBLE

        public static final RecognitionFailureReason FACE_MOUTH_REGION_NOT_VISIBLE
        Face mouth region not visible recognition failure reason.
      • FACE_WITH_MASK_DETECTED

        public static final RecognitionFailureReason FACE_WITH_MASK_DETECTED
        Face with mask detected recognition failure reason.
    • Method Detail

      • values

        public static RecognitionFailureReason[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RecognitionFailureReason c : RecognitionFailureReason.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RecognitionFailureReason valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public int getValue()
        Gets value.
        Returns:
        The value