public static class OcrResult.OCRPage
Represents result of OCR-performing on the page. Contains recognized text as a String
@JvmField @NotNull public java.lang.String text
Recognized text as a
String
@JvmField @NotNull public java.util.List<io.scanbot.sdk.ocr.process.OcrResultBlock> paragraphs
The
List of class OcrResultBlock objects containing all blocks of type OcrResultBlock.OcrResultBlockType.PARAGRAPH for current page.
class OcrResultBlock@JvmField @NotNull public java.util.List<io.scanbot.sdk.ocr.process.OcrResultBlock> lines
The
List of class OcrResultBlock objects containing all blocks of type OcrResultBlock.OcrResultBlockType.LINE for current page.
class OcrResultBlock@JvmField @NotNull public java.util.List<io.scanbot.sdk.ocr.process.OcrResultBlock> words
The
List of class OcrResultBlock objects containing all blocks of type OcrResultBlock.OcrResultBlockType.WORD for current page.
class OcrResultBlockpublic OCRPage(@NotNull
java.lang.String text,
@NotNull
java.util.List<io.scanbot.sdk.ocr.process.OcrResultBlock> paragraphs,
@NotNull
java.util.List<io.scanbot.sdk.ocr.process.OcrResultBlock> lines,
@NotNull
java.util.List<io.scanbot.sdk.ocr.process.OcrResultBlock> words)
Represents result of OCR-performing on the page. Contains recognized text as a String
text - Recognized text as a Stringparagraphs - The List of class OcrResultBlock objects containing all blocks of type OcrResultBlock.OcrResultBlockType.PARAGRAPH for current page.lines - The List of class OcrResultBlock objects containing all blocks of type OcrResultBlock.OcrResultBlockType.LINE for current page.words - The List of class OcrResultBlock objects containing all blocks of type OcrResultBlock.OcrResultBlockType.WORD for current page.@NotNull public java.lang.String component1()
Recognized text as a
String
@NotNull public java.util.List<io.scanbot.sdk.ocr.process.OcrResultBlock> component2()
The
List of class OcrResultBlock objects containing all blocks of type OcrResultBlock.OcrResultBlockType.PARAGRAPH for current page.
class OcrResultBlock@NotNull public java.util.List<io.scanbot.sdk.ocr.process.OcrResultBlock> component3()
The
List of class OcrResultBlock objects containing all blocks of type OcrResultBlock.OcrResultBlockType.LINE for current page.
class OcrResultBlock@NotNull public java.util.List<io.scanbot.sdk.ocr.process.OcrResultBlock> component4()
The
List of class OcrResultBlock objects containing all blocks of type OcrResultBlock.OcrResultBlockType.WORD for current page.
class OcrResultBlock@NotNull
public io.scanbot.sdk.ocr.process.OcrResult.OCRPage copy(@NotNull
java.lang.String text,
@NotNull
java.util.List<io.scanbot.sdk.ocr.process.OcrResultBlock> paragraphs,
@NotNull
java.util.List<io.scanbot.sdk.ocr.process.OcrResultBlock> lines,
@NotNull
java.util.List<io.scanbot.sdk.ocr.process.OcrResultBlock> words)
Represents result of OCR-performing on the page. Contains recognized text as a String
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)