Enum DocumentDetectionStatus
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum DocumentDetectionStatus extends Enum<DocumentDetectionStatus>
Status of the document detection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDocumentDetectionStatus.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_ACQUIREDDetection has not yet happened.
OKAn acceptable document was detected.
OK_BUT_TOO_SMALLA document was detected, but it is too small.
OK_BUT_BAD_ANGLESA document was detected, but it has too much perspective distortion.
OK_BUT_BAD_ASPECT_RATIOA document was detected, but its aspect ratio is not acceptable.
OK_BUT_ORIENTATION_MISMATCHA document was detected, but its orientation does not match the input image orientation.
OK_BUT_OFF_CENTERA document was detected, but its center is too far away from the input image center.
OK_BUT_TOO_DARKA document was detected, but it is too dark.
ERROR_NOTHING_DETECTEDNo document was detected.
ERROR_TOO_DARKNo document was detected, likely because the input image is too dark.
ERROR_TOO_NOISYNo document was detected, likely because the input image is too noisy or has a complex background.
-
Method Summary
Modifier and Type Method Description final StringtoJson()final DocumentDetectionStatusvalueOf(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. -
-
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.
-
-
-
-