Package io.scanbot.sdk.ocr
Class OpticalCharacterRecognizer.OcrConfig
-
- All Implemented Interfaces:
public final class OpticalCharacterRecognizer.OcrConfig
Represents additional the OCR configurations.
-
-
Field Summary
Fields Modifier and Type Field Description private OpticalCharacterRecognizer.EngineMode
engineMode
private Set<Language>
languages
-
Constructor Summary
Constructors Constructor Description OpticalCharacterRecognizer.OcrConfig(OpticalCharacterRecognizer.EngineMode engineMode, Set<Language> languages)
OpticalCharacterRecognizer.OcrConfig(OpticalCharacterRecognizer.EngineMode engineMode)
OpticalCharacterRecognizer.OcrConfig()
-
Method Summary
Modifier and Type Method Description final OpticalCharacterRecognizer.EngineMode
getEngineMode()
The OCR and PDF engine mode to use. final Unit
setEngineMode(OpticalCharacterRecognizer.EngineMode engineMode)
The OCR and PDF engine mode to use. final Set<Language>
getLanguages()
Set of languages to use for OCR. final Unit
setLanguages(Set<Language> languages)
Set of languages to use for OCR. -
-
Constructor Detail
-
OpticalCharacterRecognizer.OcrConfig
OpticalCharacterRecognizer.OcrConfig(OpticalCharacterRecognizer.EngineMode engineMode, Set<Language> languages)
-
OpticalCharacterRecognizer.OcrConfig
OpticalCharacterRecognizer.OcrConfig(OpticalCharacterRecognizer.EngineMode engineMode)
-
OpticalCharacterRecognizer.OcrConfig
OpticalCharacterRecognizer.OcrConfig()
-
-
Method Detail
-
getEngineMode
final OpticalCharacterRecognizer.EngineMode getEngineMode()
The OCR and PDF engine mode to use.
-
setEngineMode
final Unit setEngineMode(OpticalCharacterRecognizer.EngineMode engineMode)
The OCR and PDF engine mode to use.
-
getLanguages
final Set<Language> getLanguages()
Set of languages to use for OCR. By default with EngineMode.SCANBOT_OCR will be ignored. With EngineMode.TESSERACT list of languages must be set.
-
setLanguages
final Unit setLanguages(Set<Language> languages)
Set of languages to use for OCR. By default with EngineMode.SCANBOT_OCR will be ignored. With EngineMode.TESSERACT list of languages must be set.
-
-
-
-