azure-docs-sdk-java/legacy/docs-ref-autogen/com.azure.search.models.Ocr...

121 строка
10 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.models.OcrSkill"
fullName: "com.azure.search.models.OcrSkill"
name: "OcrSkill"
nameWithType: "OcrSkill"
summary: "A skill that extracts text from image files."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.Skill?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.search.models.Skill?alt=com.azure.search.models.Skill&text=Skill\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.search.models.Skill.getContext()?alt=com.azure.search.models.Skill.getContext&text=getContext\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.Skill.getDescription()?alt=com.azure.search.models.Skill.getDescription&text=getDescription\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.Skill.getInputs()?alt=com.azure.search.models.Skill.getInputs&text=getInputs\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.Skill.getName()?alt=com.azure.search.models.Skill.getName&text=getName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.Skill.getOutputs()?alt=com.azure.search.models.Skill.getOutputs&text=getOutputs\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.Skill.setContext(java.lang.String)?alt=com.azure.search.models.Skill.setContext&text=setContext\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.Skill.setDescription(java.lang.String)?alt=com.azure.search.models.Skill.setDescription&text=setDescription\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.Skill.setInputs(java.util.List<com.azure.search.models.InputFieldMappingEntry>)?alt=com.azure.search.models.Skill.setInputs&text=setInputs\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.Skill.setName(java.lang.String)?alt=com.azure.search.models.Skill.setName&text=setName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.Skill.setOutputs(java.util.List<com.azure.search.models.OutputFieldMappingEntry>)?alt=com.azure.search.models.Skill.setOutputs&text=setOutputs\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **OcrSkill**</br> extends <xref href=\"com.azure.search.models.Skill?alt=com.azure.search.models.Skill&text=Skill\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.search.models.OcrSkill.OcrSkill()"
fullName: "com.azure.search.models.OcrSkill.OcrSkill()"
name: "OcrSkill()"
nameWithType: "OcrSkill.OcrSkill()"
syntax: "public OcrSkill()"
methods:
- uid: "com.azure.search.models.OcrSkill.getDefaultLanguageCode()"
fullName: "com.azure.search.models.OcrSkill.getDefaultLanguageCode()"
name: "getDefaultLanguageCode()"
nameWithType: "OcrSkill.getDefaultLanguageCode()"
summary: "Get the default<wbr>Language<wbr>Code property: A value indicating which language code to use."
syntax: "public OcrSkillLanguage getDefaultLanguageCode()"
desc: "Get the defaultLanguageCode property: A value indicating which language code to use. Default is en. Possible values include: 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', 'sr-Cyrl', 'sr-Latn', 'sk'."
returns:
description: "the defaultLanguageCode value."
type: "<xref href=\"com.azure.search.models.OcrSkillLanguage?alt=com.azure.search.models.OcrSkillLanguage&text=OcrSkillLanguage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.OcrSkill.getTextExtractionAlgorithm()"
fullName: "com.azure.search.models.OcrSkill.getTextExtractionAlgorithm()"
name: "getTextExtractionAlgorithm()"
nameWithType: "OcrSkill.getTextExtractionAlgorithm()"
summary: "Get the text<wbr>Extraction<wbr>Algorithm property: A value indicating which algorithm to use for extracting text."
syntax: "public TextExtractionAlgorithm getTextExtractionAlgorithm()"
desc: "Get the textExtractionAlgorithm property: A value indicating which algorithm to use for extracting text. Default is printed. Possible values include: 'printed', 'handwritten'."
returns:
description: "the textExtractionAlgorithm value."
type: "<xref href=\"com.azure.search.models.TextExtractionAlgorithm?alt=com.azure.search.models.TextExtractionAlgorithm&text=TextExtractionAlgorithm\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.OcrSkill.isShouldDetectOrientation()"
fullName: "com.azure.search.models.OcrSkill.isShouldDetectOrientation()"
name: "isShouldDetectOrientation()"
nameWithType: "OcrSkill.isShouldDetectOrientation()"
summary: "Get the should<wbr>Detect<wbr>Orientation property: A value indicating to turn orientation detection on or not."
syntax: "public Boolean isShouldDetectOrientation()"
desc: "Get the shouldDetectOrientation property: A value indicating to turn orientation detection on or not. Default is false."
returns:
description: "the shouldDetectOrientation value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.search.models.OcrSkill.setDefaultLanguageCode(com.azure.search.models.OcrSkillLanguage)"
fullName: "com.azure.search.models.OcrSkill.setDefaultLanguageCode(OcrSkillLanguage defaultLanguageCode)"
name: "setDefaultLanguageCode(OcrSkillLanguage defaultLanguageCode)"
nameWithType: "OcrSkill.setDefaultLanguageCode(OcrSkillLanguage defaultLanguageCode)"
summary: "Set the default<wbr>Language<wbr>Code property: A value indicating which language code to use."
parameters:
- description: "the defaultLanguageCode value to set."
name: "defaultLanguageCode"
type: "<xref href=\"com.azure.search.models.OcrSkillLanguage?alt=com.azure.search.models.OcrSkillLanguage&text=OcrSkillLanguage\" data-throw-if-not-resolved=\"False\" />"
syntax: "public OcrSkill setDefaultLanguageCode(OcrSkillLanguage defaultLanguageCode)"
desc: "Set the defaultLanguageCode property: A value indicating which language code to use. Default is en. Possible values include: 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', 'sr-Cyrl', 'sr-Latn', 'sk'."
returns:
description: "the OcrSkill object itself."
type: "<xref href=\"com.azure.search.models.OcrSkill?alt=com.azure.search.models.OcrSkill&text=OcrSkill\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.OcrSkill.setShouldDetectOrientation(java.lang.Boolean)"
fullName: "com.azure.search.models.OcrSkill.setShouldDetectOrientation(Boolean shouldDetectOrientation)"
name: "setShouldDetectOrientation(Boolean shouldDetectOrientation)"
nameWithType: "OcrSkill.setShouldDetectOrientation(Boolean shouldDetectOrientation)"
summary: "Set the should<wbr>Detect<wbr>Orientation property: A value indicating to turn orientation detection on or not."
parameters:
- description: "the shouldDetectOrientation value to set."
name: "shouldDetectOrientation"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public OcrSkill setShouldDetectOrientation(Boolean shouldDetectOrientation)"
desc: "Set the shouldDetectOrientation property: A value indicating to turn orientation detection on or not. Default is false."
returns:
description: "the OcrSkill object itself."
type: "<xref href=\"com.azure.search.models.OcrSkill?alt=com.azure.search.models.OcrSkill&text=OcrSkill\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.OcrSkill.setTextExtractionAlgorithm(com.azure.search.models.TextExtractionAlgorithm)"
fullName: "com.azure.search.models.OcrSkill.setTextExtractionAlgorithm(TextExtractionAlgorithm textExtractionAlgorithm)"
name: "setTextExtractionAlgorithm(TextExtractionAlgorithm textExtractionAlgorithm)"
nameWithType: "OcrSkill.setTextExtractionAlgorithm(TextExtractionAlgorithm textExtractionAlgorithm)"
summary: "Set the text<wbr>Extraction<wbr>Algorithm property: A value indicating which algorithm to use for extracting text."
parameters:
- description: "the textExtractionAlgorithm value to set."
name: "textExtractionAlgorithm"
type: "<xref href=\"com.azure.search.models.TextExtractionAlgorithm?alt=com.azure.search.models.TextExtractionAlgorithm&text=TextExtractionAlgorithm\" data-throw-if-not-resolved=\"False\" />"
syntax: "public OcrSkill setTextExtractionAlgorithm(TextExtractionAlgorithm textExtractionAlgorithm)"
desc: "Set the textExtractionAlgorithm property: A value indicating which algorithm to use for extracting text. Default is printed. Possible values include: 'printed', 'handwritten'."
returns:
description: "the OcrSkill object itself."
type: "<xref href=\"com.azure.search.models.OcrSkill?alt=com.azure.search.models.OcrSkill&text=OcrSkill\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "A skill that extracts text from image files."
metadata: {}
package: "com.azure.search.models"
artifact: com.azure:azure-search:11.0.0-beta.1