Enum DocumentDetectionStatus
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum DocumentDetectionStatus extends Enum<DocumentDetectionStatus>
The 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 OKA document has been detected successfully.
OK_BUT_TOO_SMALLA document has been detected but it is too small.
OK_BUT_BAD_ANGLESA document has been detected but it has bad angles.
OK_BUT_BAD_ASPECT_RATIOA document has been detected but it has a bad aspect ratio.
OK_BUT_OFF_CENTERA document has been detected but its center is too far off.
ERROR_NOTHING_DETECTEDNo document has been detected.
ERROR_TOO_DARKNo document has been detected, the image might be too dark.
ERROR_TOO_NOISYNo document has been detected, the image might be too noisy.
-
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.
-
-
-
-