public class TextRecognizerFactory implements TextRecognition
Provides appropriate class TextRecognizers depending on needed result
class TextRecognizerpublic TextRecognizerFactory(@NotNull
io.scanbot.sap.SapManager sapManager,
@NotNull
OcrPdfRenderer pdfRenderer,
@NotNull
io.scanbot.sdk.persistence.DocumentStoreStrategy documentStoreStrategy,
@NotNull
io.scanbot.sdk.docprocessing.compose.SimpleComposer simpleComposer,
@NotNull
io.scanbot.sdk.persistence.BlobStoreStrategy blobStoreStrategy,
@NotNull
io.scanbot.sdk.persistence.PageFileStorage pageFileStorage,
@NotNull
io.scanbot.sdk.persistence.fileio.FileIOProcessor fileIOProcessor,
@NotNull
OcrSettings ocrSettings,
@NotNull
io.scanbot.sdk.ocr.intelligence.OcrPdfRenderer.BitmapBinarizer bitmapBinarizer)
Provides appropriate class TextRecognizers depending on needed result
class TextRecognizer@NotNull public TextRecognizer withPDF(@NotNull io.scanbot.sdk.entity.Document document, @NotNull java.util.List<io.scanbot.sdk.persistence.Page> pages, @NotNull java.util.Set<? extends io.scanbot.sdk.entity.Language> languages)
@NotNull public TextRecognizer withPDF(@NotNull io.scanbot.sdk.entity.Document document, @NotNull java.util.List<? extends android.net.Uri> uris, boolean encryptedInput, @NotNull java.util.Set<? extends io.scanbot.sdk.entity.Language> languages)
@NotNull public TextRecognizer withoutPDF(@NotNull java.util.List<io.scanbot.sdk.persistence.Page> pages, @NotNull java.util.Set<? extends io.scanbot.sdk.entity.Language> languages)
@NotNull public TextRecognizer withoutPDF(@NotNull java.util.List<? extends android.net.Uri> uris, boolean encryptedInput, @NotNull java.util.Set<? extends io.scanbot.sdk.entity.Language> languages)
@NotNull public TextRecognizer onBitmap(@NotNull android.graphics.Bitmap bitmap, @NotNull java.util.Set<? extends io.scanbot.sdk.entity.Language> languages)