Package io.scanbot.sdk.ocr.intelligence
Interface OcrPdfRenderer.RenderIterator
-
- All Implemented Interfaces:
public interface OcrPdfRenderer.RenderIteratorControls render process. OCR performed as iterator advances. RenderIterator must be recycled after usage:
-
-
Method Summary
Modifier and Type Method Description abstract BooleanrenderNextPage()Performs OCR of next page if available. abstract Unitrecycle()Frees resources held by RenderIterator abstract StringgetDetectedText()abstract List<OcrResultBlock>getDetectedParagraphs()abstract List<OcrResultBlock>getDetectedLines()abstract List<OcrResultBlock>getDetectedWords()abstract IntegergetLastProcessedPosition()-
-
Method Detail
-
renderNextPage
abstract Boolean renderNextPage()
Performs OCR of next page if available.
-
recycle
abstract Unit recycle()
Frees resources held by RenderIterator
-
getDetectedText
abstract String getDetectedText()
-
getDetectedParagraphs
abstract List<OcrResultBlock> getDetectedParagraphs()
-
getDetectedLines
abstract List<OcrResultBlock> getDetectedLines()
-
getDetectedWords
abstract List<OcrResultBlock> getDetectedWords()
-
getLastProcessedPosition
abstract Integer getLastProcessedPosition()
-
-
-
-