public class OcrResult
Represents result of OCR-performing. Optionally contains sandwiched pdf file
@JvmField @Nullable public io.scanbot.sdk.entity.Document sandwichedPdfDocument
Optional sandwiched pdf
Document (can be null)
@JvmField @Nullable public java.io.File sandwichedPdfDocumentFile
Optional sandwiched pdf
Document file (can be null)
@JvmField @NotNull public java.util.List<io.scanbot.sdk.ocr.process.OcrResult.OCRPage> ocrPages
List of pages with OCR data
public OcrResult(@Nullable
io.scanbot.sdk.entity.Document sandwichedPdfDocument,
@Nullable
java.io.File sandwichedPdfDocumentFile,
@NotNull
java.util.List<io.scanbot.sdk.ocr.process.OcrResult.OCRPage> ocrPages)
Represents result of OCR-performing. Optionally contains sandwiched pdf file
sandwichedPdfDocument - Optional sandwiched pdf Document (can be null)sandwichedPdfDocumentFile - Optional sandwiched pdf Document file (can be null)ocrPages - List of pages with OCR datapublic OcrResult()
Represents result of OCR-performing. Optionally contains sandwiched pdf file
@NotNull public java.lang.String getRecognizedText()
@Nullable public io.scanbot.sdk.entity.Document component1()
Optional sandwiched pdf
Document (can be null)
@Nullable public java.io.File component2()
Optional sandwiched pdf
Document file (can be null)
@NotNull public java.util.List<io.scanbot.sdk.ocr.process.OcrResult.OCRPage> component3()
List of pages with OCR data
@NotNull public OcrResult copy(@Nullable io.scanbot.sdk.entity.Document sandwichedPdfDocument, @Nullable java.io.File sandwichedPdfDocumentFile, @NotNull java.util.List<io.scanbot.sdk.ocr.process.OcrResult.OCRPage> ocrPages)
Represents result of OCR-performing. Optionally contains sandwiched pdf file
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)