public final class OcrSkill extends SearchIndexerSkill
| Constructor and Description |
|---|
OcrSkill(List<InputFieldMappingEntry> inputs,
List<OutputFieldMappingEntry> outputs)
Constructor of
OcrSkill. |
| Modifier and Type | Method and Description |
|---|---|
OcrSkillLanguage |
getDefaultLanguageCode()
Get the defaultLanguageCode property: A value indicating which language
code to use.
|
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.
|
Boolean |
setShouldDetectOrientation()
Deprecated.
Use
OcrSkill.isShouldDetectOrientation() instead. |
OcrSkill |
setShouldDetectOrientation(Boolean shouldDetectOrientation)
Set the shouldDetectOrientation property: A value indicating to turn
orientation detection on or not.
|
getContext, getDescription, getInputs, getName, getOutputs, setContext, setDescription, setNamepublic OcrSkill(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs)
OcrSkill.inputs - Inputs of the skills could be a column in the source data set, or the
output of an upstream skill.outputs - The output of a skill is either a field in a search index, or a valuepublic OcrSkillLanguage getDefaultLanguageCode()
public OcrSkill setDefaultLanguageCode(OcrSkillLanguage defaultLanguageCode)
defaultLanguageCode - the defaultLanguageCode value to set.@Deprecated public Boolean setShouldDetectOrientation()
OcrSkill.isShouldDetectOrientation() instead.public Boolean isShouldDetectOrientation()
public OcrSkill setShouldDetectOrientation(Boolean shouldDetectOrientation)
shouldDetectOrientation - the shouldDetectOrientation value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.