public class SandwichingPdfOcrPerformer implements OcrPerformer
Performs OCR and returns recognized text and sandwiched pdf as a result.
public SandwichingPdfOcrPerformer(@NotNull
io.scanbot.sap.SapManager sapManager,
@NotNull
OcrPdfRenderer pdfRenderer,
@Nullable
java.util.Set<? extends io.scanbot.sdk.entity.Language> languages,
@NotNull
io.scanbot.sdk.persistence.DocumentStoreStrategy documentStoreStrategy,
@NotNull
io.scanbot.sdk.docprocessing.compose.SimpleComposer simpleComposer,
@NotNull
OcrSettings config,
@NotNull
io.scanbot.sdk.entity.Document document,
@NotNull
OcrInput ocrInput)
Performs OCR and returns recognized text and sandwiched pdf as a result.
@NotNull public OcrResult recognize()