Package com.geniusscansdk.ocr
Class OCREngineConfiguration
- java.lang.Object
-
- com.geniusscansdk.ocr.OCREngineConfiguration
-
public final class OCREngineConfiguration extends java.lang.Object
The OCR engine configuration
-
-
Constructor Summary
Constructors Constructor Description OCREngineConfiguration(java.util.ArrayList<java.lang.String> languages, java.lang.String tessdataPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ArrayList<java.lang.String>
getLanguages()
Lists of language codes that should match the tessdata files eg ["eng", "fra"] if both eng.trainedata and fra.trainedata are present in the tessdata folderjava.lang.String
getTessdataPath()
Absolute path to the tessdata folder containing the languages files used for OCRjava.lang.String
toString()
-
-
-
Method Detail
-
getLanguages
public java.util.ArrayList<java.lang.String> getLanguages()
Lists of language codes that should match the tessdata files eg ["eng", "fra"] if both eng.trainedata and fra.trainedata are present in the tessdata folder
-
getTessdataPath
public java.lang.String getTessdataPath()
Absolute path to the tessdata folder containing the languages files used for OCR
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-