generate With Ocr From Uris
open override fun generateWithOcrFromUris(imageFileUris: List<Uri>, sourceFilesEncrypted: Boolean, pdfConfig: PdfConfiguration, ocrConfig: OcrEngine.OcrConfig): File?
Performs OCR and creates sandwiched OCR PDF file (from given image file URIs) with provided languages.
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
ocr Config
the OCR configuration
open override fun generateWithOcrFromUris(imageFileUris: List<Uri>, outputFile: File, sourceFilesEncrypted: Boolean, pdfConfig: PdfConfiguration, ocrConfig: OcrEngine.OcrConfig): File?
Performs OCR and creates sandwiched OCR PDF file (from given image file URIs) with provided languages.
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
ocr Config
the OCR configuration