public final class OcrSkill extends SearchIndexerSkill
Constructor and Description |
---|
OcrSkill(List<InputFieldMappingEntry> inputs,
List<OutputFieldMappingEntry> outputs)
Creates an instance of OcrSkill class.
|
Modifier and Type | Method and Description |
---|---|
OcrSkillLanguage |
getDefaultLanguageCode()
Get the defaultLanguageCode property: A value indicating which language code to use.
|
LineEnding |
getLineEnding()
Get the lineEnding property: Defines the sequence of characters to use between the lines of text recognized by
the OCR skill.
|
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 |
setLineEnding(LineEnding lineEnding)
Set the lineEnding property: Defines the sequence of characters to use between the lines of text recognized by
the OCR skill.
|
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, setName
public OcrSkill(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs)
inputs
- the inputs value to set.outputs
- the outputs 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.public LineEnding getLineEnding()
public OcrSkill setLineEnding(LineEnding lineEnding)
lineEnding
- the lineEnding value to set.@Deprecated public Boolean setShouldDetectOrientation()
OcrSkill.isShouldDetectOrientation()
instead.Copyright © 2021 Microsoft Corporation. All rights reserved.