public class OcrEngineProperties extends Object
Constructor and Description |
---|
OcrEngineProperties()
Creates a new OcrEngineProperties instance.
|
OcrEngineProperties(OcrEngineProperties other)
Creates a new OcrEngineProperties instance based on another OcrEngineProperties instance (copy constructor).
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getLanguages()
Gets list of languages required for provided images.
|
OcrEngineProperties |
setLanguages(List<String> requiredLanguages)
Sets list of languages to be recognized in provided images.
|
public OcrEngineProperties()
OcrEngineProperties
instance.
public OcrEngineProperties(OcrEngineProperties other)
OcrEngineProperties
instance based on another OcrEngineProperties
instance (copy constructor).
other
- the other OcrEngineProperties
instance
public final List<String> getLanguages()
List
of languages
public final OcrEngineProperties setLanguages(List<String> requiredLanguages)
requiredLanguages
- List
of languages in string format
OcrEngineProperties
instance
Copyright © 1998–2022 iText Group NV. All rights reserved.