Enum DocumentDetectionStatus

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      NOT_ACQUIRED

      Detection has not yet happened.

      OK

      An acceptable document was detected.

      OK_BUT_TOO_SMALL

      A document was detected, but it is too small.

      OK_BUT_BAD_ANGLES

      A document was detected, but it has too much perspective distortion.

      OK_BUT_BAD_ASPECT_RATIO

      A document was detected, but its aspect ratio is not acceptable.

      OK_BUT_ORIENTATION_MISMATCH

      A document was detected, but its orientation does not match the input image orientation.

      OK_BUT_OFF_CENTER

      A document was detected, but its center is too far away from the input image center.

      OK_BUT_TOO_DARK

      A document was detected, but it is too dark.

      ERROR_NOTHING_DETECTED

      No document was detected.

      ERROR_TOO_DARK

      No document was detected, likely because the input image is too dark.

      ERROR_TOO_NOISY

      No document was detected, likely because the input image is too noisy or has a complex background.

    • Method Summary

      Modifier and Type Method Description
      final String toJson()
      final DocumentDetectionStatus valueOf(String value) Returns the enum constant of this type with the specified name.
      final Array<DocumentDetectionStatus> values() Returns an array containing the constants of this enum type, in the order they're declared.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • valueOf

         final DocumentDetectionStatus valueOf(String value)

        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.)

      • values

         final Array<DocumentDetectionStatus> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.