fun disableOcr() { if (!ocrDisabled) { excludeParser(TesseractOCRParser::class.java) ocrDisabled = true pdfConfig.setExtractInlineImages(false) } }
Disable OCR . This method only has an effect if Tesseract is installed .