Uses of Class
com.itextpdf.pdfocr.OcrProcessContext
-
Uses of OcrProcessContext in com.itextpdf.pdfocr
Modifier and TypeMethodDescriptionvoid
IOcrEngine.createTxtFile
(List<File> inputImages, File txtFile, OcrProcessContext ocrProcessContext) Performs OCR using providedIOcrEngine
for the given list of input images and saves output to a text file using provided path.IOcrEngine.doImageOcr
(File input, OcrProcessContext ocrProcessContext) Reads data from the provided input image file and returns retrieved data in the format described below. -
Uses of OcrProcessContext in com.itextpdf.pdfocr.tesseract4
Modifier and TypeMethodDescriptionvoid
AbstractTesseract4OcrEngine.createTxtFile
(List<File> inputImages, File txtFile, OcrProcessContext ocrProcessContext) Performs OCR using providedIOcrEngine
for the given list of input images and saves output to a text file using provided path.AbstractTesseract4OcrEngine.doImageOcr
(File input, OcrProcessContext ocrProcessContext) Reads data from the provided input image file and returns retrieved data in the format described below.final String
AbstractTesseract4OcrEngine.doImageOcr
(File input, OutputFormat outputFormat, OcrProcessContext ocrProcessContext) Reads data from the provided input image file and returns retrieved data as string.void
AbstractTesseract4OcrEngine.doTesseractOcr
(File inputImage, File outputFile, OutputFormat outputFormat, OcrProcessContext ocrProcessContext) Performs tesseract OCR for the first (or for the only) image page.