-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class IdScanResult.Field implements Parcelable
Container for detected field data
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumIdScanResult.Field.TypePossible ID card fields enumerated
-
Field Summary
Fields Modifier and Type Field Description private final IdScanResult.Field.Typetypeprivate final BitmapvisualSourceprivate final Stringtextprivate final FloattextConfidence
-
Constructor Summary
Constructors Constructor Description IdScanResult.Field(IdScanResult.Field.Type type, Bitmap visualSource, String text, Float textConfidence)
-
Method Summary
Modifier and Type Method Description final IdScanResult.Field.TypegetType()Type of field final BitmapgetVisualSource()Cropped image part for given field final StringgetText()Recognized text final FloatgetTextConfidence()Recognition confidence - from 0.0 to 1. -
-
Constructor Detail
-
IdScanResult.Field
IdScanResult.Field(IdScanResult.Field.Type type, Bitmap visualSource, String text, Float textConfidence)
-
-
Method Detail
-
getType
final IdScanResult.Field.Type getType()
Type of field
-
getVisualSource
final Bitmap getVisualSource()
Cropped image part for given field
-
getTextConfidence
final Float getTextConfidence()
Recognition confidence - from 0.0 to 1.0
-
-
-
-