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 TypeMethodDescriptionvoidIOcrEngine.createTxtFile(List<File> inputImages, File txtFile, OcrProcessContext ocrProcessContext) Performs OCR using providedIOcrEnginefor 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.onnxtr
Methods in com.itextpdf.pdfocr.onnxtr with parameters of type OcrProcessContextModifier and TypeMethodDescriptionvoidOnnxTrOcrEngine.createTxtFile(List<File> inputImages, File txtFile, OcrProcessContext ocrProcessContext) Performs OCR using providedIOcrEnginefor the given list of input images and saves output to a text file using provided path.OnnxTrOcrEngine.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 TypeMethodDescriptionvoidAbstractTesseract4OcrEngine.createTxtFile(List<File> inputImages, File txtFile, OcrProcessContext ocrProcessContext) Performs OCR using providedIOcrEnginefor 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 StringAbstractTesseract4OcrEngine.doImageOcr(File input, OutputFormat outputFormat, OcrProcessContext ocrProcessContext) Reads data from the provided input image file and returns retrieved data as string.voidAbstractTesseract4OcrEngine.doTesseractOcr(File inputImage, File outputFile, OutputFormat outputFormat, OcrProcessContext ocrProcessContext) Performs tesseract OCR for the first (or for the only) image page.