Uses of Class
com.itextpdf.pdfocr.OcrProcessContext
Packages that use OcrProcessContext
-
Uses of OcrProcessContext in com.itextpdf.pdfocr
Methods in com.itextpdf.pdfocr with parameters of type OcrProcessContextModifier 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
Methods in com.itextpdf.pdfocr.tesseract4 with parameters of type OcrProcessContextModifier 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.