public class Tesseract4ExecutableOcrEngine extends AbstractTesseract4OcrEngine
AbstractTesseract4OcrEngine
for tesseract OCR. This class provides possibilities to use features of "tesseract" CL tool (optical character recognition engine for various operating systems). Please note that it's assumed that "tesseract" has already been installed locally.
Constructor and Description |
---|
Tesseract4ExecutableOcrEngine(String executablePath, Tesseract4OcrEngineProperties tesseract4OcrEngineProperties)
Creates a new Tesseract4ExecutableOcrEngine instance.
|
Tesseract4ExecutableOcrEngine(Tesseract4OcrEngineProperties tesseract4OcrEngineProperties)
Creates a new Tesseract4ExecutableOcrEngine instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getPathToExecutable()
Gets path to tesseract executable.
|
void |
setPathToExecutable(String path)
Sets path to tesseract executable.
|
createTxtFile, createTxtFile, doImageOcr, doImageOcr, doImageOcr, doImageOcr, doTesseractOcr, doTesseractOcr, getLanguagesAsString, getMetaInfoContainer, getProductData, getTesseract4OcrEngineProperties, identifyOsType, isWindows, setTesseract4OcrEngineProperties, validateLanguages
public Tesseract4ExecutableOcrEngine(Tesseract4OcrEngineProperties tesseract4OcrEngineProperties)
Tesseract4ExecutableOcrEngine
instance.
tesseract4OcrEngineProperties
- set of properties
public Tesseract4ExecutableOcrEngine(String executablePath, Tesseract4OcrEngineProperties tesseract4OcrEngineProperties)
Tesseract4ExecutableOcrEngine
instance.
executablePath
- path to tesseract executable
tesseract4OcrEngineProperties
- set of properties
public final String getPathToExecutable()
public final void setPathToExecutable(String path)
path
- path to tesseract executable
Copyright © 1998–2022 iText Group NV. All rights reserved.