public final class OcrSkill extends Skill
Constructor and Description |
---|
OcrSkill() |
Modifier and Type | Method and Description |
---|---|
OcrSkillLanguage |
getDefaultLanguageCode()
Get the defaultLanguageCode property: A value indicating which language
code to use.
|
TextExtractionAlgorithm |
getTextExtractionAlgorithm()
Get the textExtractionAlgorithm property: A value indicating which
algorithm to use for extracting text.
|
OcrSkill |
setDefaultLanguageCode(OcrSkillLanguage defaultLanguageCode)
Set the defaultLanguageCode property: A value indicating which language
code to use.
|
OcrSkill |
setShouldDetectOrientation(Boolean shouldDetectOrientation)
Set the shouldDetectOrientation property: A value indicating to turn
orientation detection on or not.
|
OcrSkill |
setTextExtractionAlgorithm(TextExtractionAlgorithm textExtractionAlgorithm)
Set the textExtractionAlgorithm property: A value indicating which
algorithm to use for extracting text.
|
Boolean |
shouldDetectOrientation()
Get the shouldDetectOrientation property: A value indicating to turn
orientation detection on or not.
|
getContext, getDescription, getInputs, getName, getOutputs, setContext, setDescription, setInputs, setName, setOutputs
public TextExtractionAlgorithm getTextExtractionAlgorithm()
public OcrSkill setTextExtractionAlgorithm(TextExtractionAlgorithm textExtractionAlgorithm)
textExtractionAlgorithm
- the textExtractionAlgorithm value to set.public OcrSkillLanguage getDefaultLanguageCode()
public OcrSkill setDefaultLanguageCode(OcrSkillLanguage defaultLanguageCode)
defaultLanguageCode
- the defaultLanguageCode value to set.public Boolean shouldDetectOrientation()
public OcrSkill setShouldDetectOrientation(Boolean shouldDetectOrientation)
shouldDetectOrientation
- the shouldDetectOrientation value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.