generate With Ocr Pages From Uris
abstract fun generateWithOcrPagesFromUris(imageFileUris: List<Uri>, sourceFilesEncrypted: Boolean = false, pdfConfig: PdfConfiguration = PdfConfiguration.default(), sourceOcrPages: List<Page> = emptyList()): File?
Creates sandwiched OCR PDF file from given image file URIs and provided source list of io.scanbot.sdk.ocr.model.Page OCR data.
Return
generated PDF File
Parameters
image File Uris
list of image file URIs
source Files Encrypted
if true, the image files are encrypted and will be decrypted before OCR
pdf Config
the PDF configuration
source Ocr Pages
the source list of io.scanbot.sdk.ocr.model.Page OCR data.
abstract fun generateWithOcrPagesFromUris(imageFileUris: List<Uri>, outputFile: File, sourceFilesEncrypted: Boolean = false, pdfConfig: PdfConfiguration = PdfConfiguration.default(), sourceOcrPages: List<Page> = emptyList()): File?
Creates sandwiched OCR PDF file from given image file URIs and provided source list of io.scanbot.sdk.ocr.model.Page OCR data.
Return
true if PDF was generated successfully, false otherwise
Parameters
image File Uris
list of image file URIs
output File
the output PDF file
source Files Encrypted
if true, the image files are encrypted and will be decrypted before OCR
pdf Config
the PDF configuration
source Ocr Pages
the source list of io.scanbot.sdk.ocr.model.Page OCR data