public class GenericDocumentRecognitionResult
Container for results of interface GenericDocumentRecognizer
interface GenericDocumentRecognizerpublic GenericDocumentRecognitionResult(@NotNull
io.scanbot.sdk.genericdocument.GenericDocumentRecognitionResult.RecognitionStatus status,
@Nullable
android.graphics.Bitmap croppedImage,
@Nullable
io.scanbot.genericdocument.entity.GenericDocument document)
Container for results of interface GenericDocumentRecognizer
status - Recognition statuscroppedImage - Contains cropped document image if it was detected (that is whenstatus equals RecognitionStatus.Success or RecognitionStatus.SuccessFound)document - Contains a document which might be wrapped into one of io.scanbot.genericdocument.entity models
For the convenience it is possible to get strongly typed wrapper around GenericDocument To do so, use the io.scanbot.genericdocument.entity.GenericDocumentLibrary wrapperFromGenericDocument method
interface GenericDocumentRecognizer@NotNull public io.scanbot.sdk.genericdocument.GenericDocumentRecognitionResult.RecognitionStatus getStatus()
Recognition status
@Nullable public android.graphics.Bitmap getCroppedImage()
Contains cropped document image if it was detected
(that is whenstatus equals RecognitionStatus.Success or RecognitionStatus.SuccessFound)
@Nullable public io.scanbot.genericdocument.entity.GenericDocument getDocument()
Contains a document which might be wrapped into one of io.scanbot.genericdocument.entity models
For the convenience it is possible to get strongly typed wrapper around GenericDocument To do so, use the io.scanbot.genericdocument.entity.GenericDocumentLibrary wrapperFromGenericDocument method
@NotNull public io.scanbot.sdk.genericdocument.GenericDocumentRecognitionResult.RecognitionStatus component1()
Recognition status
@Nullable public android.graphics.Bitmap component2()
Contains cropped document image if it was detected
(that is whenstatus equals RecognitionStatus.Success or RecognitionStatus.SuccessFound)
@Nullable public io.scanbot.genericdocument.entity.GenericDocument component3()
Contains a document which might be wrapped into one of io.scanbot.genericdocument.entity models
For the convenience it is possible to get strongly typed wrapper around GenericDocument To do so, use the io.scanbot.genericdocument.entity.GenericDocumentLibrary wrapperFromGenericDocument method
@NotNull public GenericDocumentRecognitionResult copy(@NotNull io.scanbot.sdk.genericdocument.GenericDocumentRecognitionResult.RecognitionStatus status, @Nullable android.graphics.Bitmap croppedImage, @Nullable io.scanbot.genericdocument.entity.GenericDocument document)
Container for results of interface GenericDocumentRecognizer
interface GenericDocumentRecognizer@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)