Package io.scanbot.sdk.ocr.intelligence
Class OcrPdfRenderer
-
- All Implemented Interfaces:
public final class OcrPdfRenderer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
OcrPdfRenderer.RenderIterator
Controls render process. OCR performed as iterator advances. RenderIterator must be recycled after usage:
public interface
OcrPdfRenderer.BitmapBinarizer
Applies binarization filter to Bitmap.
-
Constructor Summary
Constructors Constructor Description OcrPdfRenderer(DocumentStoreStrategy documentStoreStrategy, PageFileStorage pageFileStorage, BlobStoreStrategy blobStoreStrategy, OcrPdfRenderer.BitmapBinarizer bitmapBinarizer, FileIOProcessor fileIOProcessor, ComposerCache composerCache)
-
Method Summary
Modifier and Type Method Description final OcrPdfRenderer.RenderIterator
startRender(Document document, ScanbotOpticalCharacterRecognizer.RecognizerInput recognizerInput, Collection<Language> languages, OcrSettings ocrSettings)
Starts render of document into PDF file. -
-
Constructor Detail
-
OcrPdfRenderer
OcrPdfRenderer(DocumentStoreStrategy documentStoreStrategy, PageFileStorage pageFileStorage, BlobStoreStrategy blobStoreStrategy, OcrPdfRenderer.BitmapBinarizer bitmapBinarizer, FileIOProcessor fileIOProcessor, ComposerCache composerCache)
-
-
Method Detail
-
startRender
final OcrPdfRenderer.RenderIterator startRender(Document document, ScanbotOpticalCharacterRecognizer.RecognizerInput recognizerInput, Collection<Language> languages, OcrSettings ocrSettings)
Starts render of document into PDF file. Returns RenderIterator which performs OCR and generates document as it being advanced.
- Parameters:
document
- Document to renderrecognizerInput
- ScanbotOpticalCharacterRecognizer.RecognizerInput to renderlanguages
- Languages to use for OCR.
-
-
-
-