Interface ComputerVision.ComputerVisionReadDefinitionStages.WithAllOptions
-
- All Known Subinterfaces:
ComputerVision.ComputerVisionReadDefinition
,ComputerVision.ComputerVisionReadDefinitionStages.WithExecute
- Enclosing interface:
- ComputerVision.ComputerVisionReadDefinitionStages
public static interface ComputerVision.ComputerVisionReadDefinitionStages.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.ComputerVisionReadDefinitionStages.WithExecute
withLanguage(OcrDetectionLanguage language)
The BCP-47 language code of the text in the document.ComputerVision.ComputerVisionReadDefinitionStages.WithExecute
withModelVersion(String modelVersion)
Optional parameter to specify the version of the OCR model used for text extraction.ComputerVision.ComputerVisionReadDefinitionStages.WithExecute
withPages(List<String> pages)
Custom page numbers for multi-page documents(PDF/TIFF), input the number of the pages you want to get OCR result.ComputerVision.ComputerVisionReadDefinitionStages.WithExecute
withReadingOrder(String readingOrder)
Optional parameter to specify which reading order algorithm should be applied when ordering the extract text elements.
-
-
-
Method Detail
-
withLanguage
ComputerVision.ComputerVisionReadDefinitionStages.WithExecute withLanguage(OcrDetectionLanguage language)
The BCP-47 language code of the text in the document. Read supports auto language identification and multi-language documents, so only provide a language code if you would like to force the document to be processed in that specific language. See https://aka.ms/ocr-languages for list of supported languages. Possible values include: 'af', 'ast', 'bi', 'br', 'ca', 'ceb', 'ch', 'co', 'crh', 'cs', 'csb', 'da', 'de', 'en', 'es', 'et', 'eu', 'fi', 'fil', 'fj', 'fr', 'fur', 'fy', 'ga', 'gd', 'gil', 'gl', 'gv', 'hni', 'hsb', 'ht', 'hu', 'ia', 'id', 'it', 'iu', 'ja', 'jv', 'kaa', 'kac', 'kea', 'kha', 'kl', 'ko', 'ku', 'kw', 'lb', 'ms', 'mww', 'nap', 'nl', 'no', 'oc', 'pl', 'pt', 'quc', 'rm', 'sco', 'sl', 'sq', 'sv', 'sw', 'tet', 'tr', 'tt', 'uz', 'vo', 'wae', 'yua', 'za', 'zh-Hans', 'zh-Hant', 'zu'.- Returns:
- next definition stage
-
withPages
ComputerVision.ComputerVisionReadDefinitionStages.WithExecute withPages(List<String> pages)
Custom page numbers for multi-page documents(PDF/TIFF), input the number of the pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or range with a comma.- Returns:
- next definition stage
-
withModelVersion
ComputerVision.ComputerVisionReadDefinitionStages.WithExecute withModelVersion(String modelVersion)
Optional parameter to specify the version of the OCR model used for text extraction. Accepted values are: "latest", "latest-preview", "2021-04-12". Defaults to "latest".- Returns:
- next definition stage
-
withReadingOrder
ComputerVision.ComputerVisionReadDefinitionStages.WithExecute withReadingOrder(String readingOrder)
Optional parameter to specify which reading order algorithm should be applied when ordering the extract text elements. Can be either 'basic' or 'natural'. Will default to 'basic' if not specified.- Returns:
- next definition stage
-
-