Package | Description |
---|---|
com.itextpdf.pdfocr | |
com.itextpdf.pdfocr.tesseract4 |
Modifier and Type | Method and Description |
---|---|
void |
IOcrEngine.createTxtFile(List<File> inputImages, File txtFile, OcrProcessContext ocrProcessContext)
Performs OCR using provided IOcrEngine for the given list of input images and saves output to a text file using provided path.
|
Map<Integer,List<TextInfo>> |
IOcrEngine.doImageOcr(File input, OcrProcessContext ocrProcessContext)
Reads data from the provided input image file and returns retrieved data in the format described below.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractTesseract4OcrEngine.createTxtFile(List<File> inputImages, File txtFile, OcrProcessContext ocrProcessContext)
Performs OCR using provided IOcrEngine for the given list of input images and saves output to a text file using provided path.
|
Map<Integer,List<TextInfo>> |
AbstractTesseract4OcrEngine.doImageOcr(File input, OcrProcessContext ocrProcessContext)
Reads data from the provided input image file and returns retrieved data in the format described below.
|
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.
|
Copyright © 1998–2022 iText Group NV. All rights reserved.