Interface ComputerVision.ComputerVisionRecognizePrintedTextInStreamDefinitionStages.WithAllOptions
-
- All Known Subinterfaces:
ComputerVision.ComputerVisionRecognizePrintedTextInStreamDefinition
,ComputerVision.ComputerVisionRecognizePrintedTextInStreamDefinitionStages.WithExecute
- Enclosing interface:
- ComputerVision.ComputerVisionRecognizePrintedTextInStreamDefinitionStages
public static interface ComputerVision.ComputerVisionRecognizePrintedTextInStreamDefinitionStages.WithAllOptions
The stage of the definition which allows for any other optional settings to be specified.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComputerVision.ComputerVisionRecognizePrintedTextInStreamDefinitionStages.WithExecute
withLanguage(OcrLanguages language)
The BCP-47 language code of the text to be detected in the image.ComputerVision.ComputerVisionRecognizePrintedTextInStreamDefinitionStages.WithExecute
withModelVersion(String modelVersion)
Optional parameter to specify the version of the AI model.
-
-
-
Method Detail
-
withLanguage
ComputerVision.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'.- Returns:
- next definition stage
-
withModelVersion
ComputerVision.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".- Returns:
- next definition stage
-
-