-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum DetectionResult extends Enum<DetectionResult>
Result from ContourDetector.detect
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_TOO_NOISYNo polygon detected, image too noisy (background).
ERROR_TOO_DARKNo polygon detected, image too dark. (Not yet used)
ERROR_NOTHING_DETECTEDNo polygon detected.
OK_BARCODEA barcode was detected.
OK_OFF_CENTERA polygon was detected, but its center is too far away from the image center.
OK_BUT_BAD_ASPECT_RATIOA polygon was detected but its aspect ratio is wrong.
OK_BUT_BAD_ANGLESA polygon was detected but it is distorted too much.
OK_BUT_TOO_SMALLA polygon was detected but was too small.
OKA good polygon was detected.
-
Method Summary
Modifier and Type Method Description final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getOrdinal
final Integer getOrdinal()
-
-
-
-