Package com.geniusscansdk.ocr
Class OcrConfiguration
- java.lang.Object
-
- com.geniusscansdk.ocr.OcrConfiguration
-
public class OcrConfiguration extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<java.lang.String>
languageCodes
List of language codes that should match the trained data files eg ["eng", "fra"] if both eng.trainedata and fra.trainedata are present in the trained data folderjava.io.File
trainedDataFolder
Absolute path to the trained data folder containing the languages files used for OCR
-
Constructor Summary
Constructors Constructor Description OcrConfiguration(java.util.List<java.lang.String> languageCodes, java.io.File trainedDataFolder)
-
-
-
Field Detail
-
languageCodes
public final java.util.List<java.lang.String> languageCodes
List of language codes that should match the trained data files eg ["eng", "fra"] if both eng.trainedata and fra.trainedata are present in the trained data folder
-
trainedDataFolder
public final java.io.File trainedDataFolder
Absolute path to the trained data folder containing the languages files used for OCR
-
-