Enum DetectionStatus
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum DetectionStatus extends Enum<DetectionStatus>
Result status of contour detection from, for example, ContourDetector.detect method.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OK
A good polygon was detected.
OK_BUT_TOO_SMALL
A polygon was detected but was too small.
OK_BUT_BAD_ANGLES
A polygon was detected but it is distorted too much.
OK_BUT_BAD_ASPECT_RATIO
A polygon was detected but its aspect ratio is wrong.
OK_OFF_CENTER
A polygon was detected, but its center is too far away from the image center.
OK_BARCODE
A barcode was detected.
ERROR_NOTHING_DETECTED
No polygon detected.
ERROR_TOO_DARK
No polygon detected, image too dark. (Not yet used)
ERROR_TOO_NOISY
No polygon detected, image too noisy (background).
-
Method Summary
Modifier and Type Method Description final DetectionStatus
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<DetectionStatus>
values()
Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final DetectionStatus 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<DetectionStatus> 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.
-
-
-
-