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