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 class
DocumentDetectionStatus.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description OK
A document has been detected successfully.
OK_BUT_TOO_SMALL
A document has been detected but it is too small.
OK_BUT_BAD_ANGLES
A document has been detected but it has bad angles.
OK_BUT_BAD_ASPECT_RATIO
A document has been detected but it has a bad aspect ratio.
OK_BUT_OFF_CENTER
A document has been detected but its center is too far off.
ERROR_NOTHING_DETECTED
No document has been detected.
ERROR_TOO_DARK
No document has been detected, the image might be too dark.
ERROR_TOO_NOISY
No document has been detected, the image might be too noisy.
-
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. -
-
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.
-
-
-
-