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.
|
Boolean |
isShouldDetectOrientation()
Get the shouldDetectOrientation property: A value indicating to turn
orientation detection on or not.
|
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.
|
getContext, getDescription, getInputs, getName, getOutputs, setContext, setDescription, setInputs, setName, setOutputspublic 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 isShouldDetectOrientation()
public OcrSkill setShouldDetectOrientation(Boolean shouldDetectOrientation)
shouldDetectOrientation - the shouldDetectOrientation value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.