ComputerVision.ComputerVisionRecognizePrintedTextDefinitionStages.WithAllOptions Interface
public interface WithAllOptions
The stage of the definition which allows for any other optional settings to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
ComputerVisionRecognizePrintedTextDefinitionStages.WithExecute |
withLanguage(OcrLanguages language)
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'. |
ComputerVisionRecognizePrintedTextDefinitionStages.WithExecute |
withModelVersion(String modelVersion)
Optional parameter to specify the version of the AI model. Accepted values are: "latest", "2021-04-01". Defaults to "latest". |
Method Details
withLanguage
public ComputerVisionRecognizePrintedTextDefinitionStages.WithExecute withLanguage(OcrLanguages language)
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'.
Parameters:
Returns:
withModelVersion
public ComputerVisionRecognizePrintedTextDefinitionStages.WithExecute withModelVersion(String modelVersion)
Optional parameter to specify the version of the AI model. Accepted values are: "latest", "2021-04-01". Defaults to "latest".
Parameters:
Returns:
Applies to
Azure SDK for Java