Package io.scanbot.sdk.ocr
Class Page
java.lang.Object
io.scanbot.sdk.ocr.OcrElement
io.scanbot.sdk.ocr.Page
Represents result of performing OCR on an image. A page is made up of blocks.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.scanbot.sdk.ocr.OcrElement
getConfidence, getRoi, getText
-
Constructor Details
-
Page
Constructs Page with the given params.- Parameters:
text- The recognized text.confidence- Text confidence. Range is [0-1].roi- Quad where the text was found in image coordinates. The order of the points is clockwise starting from the top left.blocks- List of blocks.
-
-
Method Details
-
getBlocks
Getter for blocks field. See constructor documentation for more information about the field.- Returns:
- blocks
-