public class Tesseract4LibOcrEngine extends AbstractTesseract4OcrEngine
AbstractTesseract4OcrEngine for tesseract OCR.
This class provides possibilities to use features of "tesseract"
using tess4j.
Please note that this class is not thread-safe, in other words this Tesseract engine cannot
be used for multithreaded processing. You should create one instance per thread| Constructor and Description |
|---|
Tesseract4LibOcrEngine(Tesseract4OcrEngineProperties tesseract4OcrEngineProperties)
Creates a new
Tesseract4LibOcrEngine instance. |
| Modifier and Type | Method and Description |
|---|---|
net.sourceforge.tess4j.ITesseract |
getTesseractInstance()
Gets tesseract instance.
|
void |
initializeTesseract(OutputFormat outputFormat)
Initializes instance of tesseract if it haven't been already
initialized or it have been disposed and sets all the required
properties.
|
createTxtFile, createTxtFile, doImageOcr, doImageOcr, doImageOcr, doImageOcr, doTesseractOcr, doTesseractOcr, getLanguagesAsString, getMetaInfoContainer, getProductData, getTesseract4OcrEngineProperties, identifyOsType, isWindows, setTesseract4OcrEngineProperties, validateLanguagespublic Tesseract4LibOcrEngine(Tesseract4OcrEngineProperties tesseract4OcrEngineProperties)
Tesseract4LibOcrEngine instance.tesseract4OcrEngineProperties - set of properteispublic net.sourceforge.tess4j.ITesseract getTesseractInstance()
ITesseract instancepublic void initializeTesseract(OutputFormat outputFormat)
outputFormat - selected OutputFormat for tesseractCopyright © 1998–2024 Apryse Group NV. All rights reserved.