public static class IdScanResult.Field
Container for detected field data
public Field(@NotNull
io.scanbot.sdk.idcardscanner.IdScanResult.Field.Type type,
@NotNull
android.graphics.Bitmap visualSource,
@Nullable
java.lang.String text,
float textConfidence)
Container for detected field data
type - Type of fieldvisualSource - Cropped image part for given fieldtext - Recognized texttextConfidence - Recognition confidence - from 0.0 to 1.0@NotNull public io.scanbot.sdk.idcardscanner.IdScanResult.Field.Type getType()
Type of field
@NotNull public android.graphics.Bitmap getVisualSource()
Cropped image part for given field
@Nullable public java.lang.String getText()
Recognized text
public float getTextConfidence()
Recognition confidence
- from 0.0 to 1.0
@NotNull public io.scanbot.sdk.idcardscanner.IdScanResult.Field.Type component1()
Type of field
@NotNull public android.graphics.Bitmap component2()
Cropped image part for given field
@Nullable public java.lang.String component3()
Recognized text
public float component4()
Recognition confidence
- from 0.0 to 1.0
@NotNull
public io.scanbot.sdk.idcardscanner.IdScanResult.Field copy(@NotNull
io.scanbot.sdk.idcardscanner.IdScanResult.Field.Type type,
@NotNull
android.graphics.Bitmap visualSource,
@Nullable
java.lang.String text,
float textConfidence)
Container for detected field data
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)