azure-docs-sdk-java/archive/docs-ref-autogen/com.microsoft.azure.cogniti...

42 строки
3.5 KiB
YAML

### YamlMime:JavaType
methods:
- fullName: com.microsoft.azure.cognitiveservices.vision.computervision.ComputerVision.ComputerVisionRecognizePrintedTextDefinitionStages.WithAllOptions.withLanguage(OcrLanguages language)
name: withLanguage(OcrLanguages language)
nameWithType: ComputerVision.ComputerVisionRecognizePrintedTextDefinitionStages.WithAllOptions.withLanguage(OcrLanguages language)
parameters:
- name: language
type: <xref href="com.microsoft.azure.cognitiveservices.vision.computervision.models.OcrLanguages?alt=com.microsoft.azure.cognitiveservices.vision.computervision.models.OcrLanguages&text=OcrLanguages" data-throw-if-not-resolved="False"/>
returns:
description: <p>next definition stage </p>
type: <xref href="ComputerVisionRecognizePrintedTextDefinitionStages.WithExecute?alt=ComputerVisionRecognizePrintedTextDefinitionStages.WithExecute&text=ComputerVisionRecognizePrintedTextDefinitionStages.WithExecute" data-throw-if-not-resolved="False"/>
summary: >-
<p>The BCP-47 language code of the text to be detected in the image. The default value is 'unk'. Possible values include: 'unk', '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'.</p>
<p></p>
syntax: public ComputerVisionRecognizePrintedTextDefinitionStages.WithExecute withLanguage(OcrLanguages language)
uid: com.microsoft.azure.cognitiveservices.vision.computervision.ComputerVision.ComputerVisionRecognizePrintedTextDefinitionStages.WithAllOptions.withLanguage(OcrLanguages)
- fullName: com.microsoft.azure.cognitiveservices.vision.computervision.ComputerVision.ComputerVisionRecognizePrintedTextDefinitionStages.WithAllOptions.withModelVersion(String modelVersion)
name: withModelVersion(String modelVersion)
nameWithType: ComputerVision.ComputerVisionRecognizePrintedTextDefinitionStages.WithAllOptions.withModelVersion(String modelVersion)
parameters:
- name: modelVersion
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
returns:
description: <p>next definition stage </p>
type: <xref href="ComputerVisionRecognizePrintedTextDefinitionStages.WithExecute?alt=ComputerVisionRecognizePrintedTextDefinitionStages.WithExecute&text=ComputerVisionRecognizePrintedTextDefinitionStages.WithExecute" data-throw-if-not-resolved="False"/>
summary: >-
<p>Optional parameter to specify the version of the AI model. Accepted values are: "latest", "2021-04-01". Defaults to "latest".</p>
<p></p>
syntax: public ComputerVisionRecognizePrintedTextDefinitionStages.WithExecute withModelVersion(String modelVersion)
uid: com.microsoft.azure.cognitiveservices.vision.computervision.ComputerVision.ComputerVisionRecognizePrintedTextDefinitionStages.WithAllOptions.withModelVersion(String)
nameWithType: ComputerVision.ComputerVisionRecognizePrintedTextDefinitionStages.WithAllOptions
syntax: public interface WithAllOptions
type: interface
uid: com.microsoft.azure.cognitiveservices.vision.computervision.ComputerVision.ComputerVisionRecognizePrintedTextDefinitionStages.WithAllOptions
fullName: com.microsoft.azure.cognitiveservices.vision.computervision.ComputerVision.ComputerVisionRecognizePrintedTextDefinitionStages.WithAllOptions
name: ComputerVision.ComputerVisionRecognizePrintedTextDefinitionStages.WithAllOptions
package: com.microsoft.azure.cognitiveservices.vision.computervision
summary: <p>The stage of the definition which allows for any other optional settings to be specified. </p>
metadata: {}