Delen via


ComputerVision.ComputerVisionRecognizePrintedTextInStreamDefinitionStages.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
ComputerVisionRecognizePrintedTextInStreamDefinitionStages.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'.

ComputerVisionRecognizePrintedTextInStreamDefinitionStages.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 ComputerVisionRecognizePrintedTextInStreamDefinitionStages.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:

language

Returns:

next definition stage

withModelVersion

public ComputerVisionRecognizePrintedTextInStreamDefinitionStages.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:

modelVersion

Returns:

next definition stage

Applies to