ComputerVision.ComputerVisionAnalyzeImageInStreamDefinitionStages.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
ComputerVisionAnalyzeImageInStreamDefinitionStages.WithExecute withDescriptionExclude(List<DescriptionExclude> descriptionExclude)

Turn off specified domain models when generating the description.

ComputerVisionAnalyzeImageInStreamDefinitionStages.WithExecute withDetails(List<Details> details)

A string indicating which domain-specific details to return. Multiple values should be comma-separated. Valid visual feature types include: Celebrities - identifies celebrities if detected in the image, Landmarks

  • identifies notable landmarks in the image.

ComputerVisionAnalyzeImageInStreamDefinitionStages.WithExecute withLanguage(String language)

The desired language for output generation. If this parameter is not specified, the default value is &quot;en&quot;.Supported languages:en - English, Default. es - Spanish, ja - Japanese, pt - Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', 'ja', 'pt', 'zh'.

ComputerVisionAnalyzeImageInStreamDefinitionStages.WithExecute withModelVersion(String modelVersion)

Optional parameter to specify the version of the AI model. Accepted values are: "latest", "2021-04-01". Defaults to "latest".

ComputerVisionAnalyzeImageInStreamDefinitionStages.WithExecute withVisualFeatures(List<VisualFeatureTypes> visualFeatures)

A string indicating what visual feature types to return. Multiple values should be comma-separated. Valid visual feature types include: Categories - categorizes image content according to a taxonomy defined in documentation. Tags - tags the image with a detailed list of words related to the image content. Description

  • describes the image content with a complete English sentence. Faces - detects if faces are present. If present, generate coordinates, gender and age. ImageType - detects if image is clipart or a line drawing. Color - determines the accent color, dominant color, and whether an image is black&white. Adult - detects if the image is pornographic in nature (depicts nudity or a sex act), or is gory (depicts extreme violence or blood). Sexually suggestive content (aka racy content) is also detected. Objects - detects various objects within an image, including the approximate location. The Objects argument is only available in English. Brands - detects various brands within an image, including the approximate location. The Brands argument is only available in English.

Method Details

withDescriptionExclude

public ComputerVisionAnalyzeImageInStreamDefinitionStages.WithExecute withDescriptionExclude(List descriptionExclude)

Turn off specified domain models when generating the description.

Parameters:

descriptionExclude

Returns:

next definition stage

withDetails

public ComputerVisionAnalyzeImageInStreamDefinitionStages.WithExecute withDetails(List

details)

A string indicating which domain-specific details to return. Multiple values should be comma-separated. Valid visual feature types include: Celebrities - identifies celebrities if detected in the image, Landmarks

  • identifies notable landmarks in the image.

Parameters:

details

Returns:

next definition stage

withLanguage

public ComputerVisionAnalyzeImageInStreamDefinitionStages.WithExecute withLanguage(String language)

The desired language for output generation. If this parameter is not specified, the default value is &quot;en&quot;.Supported languages:en - English, Default. es - Spanish, ja - Japanese, pt - Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', 'ja', 'pt', 'zh'.

Parameters:

language

Returns:

next definition stage

withModelVersion

public ComputerVisionAnalyzeImageInStreamDefinitionStages.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

withVisualFeatures

public ComputerVisionAnalyzeImageInStreamDefinitionStages.WithExecute withVisualFeatures(List visualFeatures)

A string indicating what visual feature types to return. Multiple values should be comma-separated. Valid visual feature types include: Categories - categorizes image content according to a taxonomy defined in documentation. Tags - tags the image with a detailed list of words related to the image content. Description

  • describes the image content with a complete English sentence. Faces - detects if faces are present. If present, generate coordinates, gender and age. ImageType - detects if image is clipart or a line drawing. Color - determines the accent color, dominant color, and whether an image is black&white. Adult - detects if the image is pornographic in nature (depicts nudity or a sex act), or is gory (depicts extreme violence or blood). Sexually suggestive content (aka racy content) is also detected. Objects - detects various objects within an image, including the approximate location. The Objects argument is only available in English. Brands - detects various brands within an image, including the approximate location. The Brands argument is only available in English.

Parameters:

visualFeatures

Returns:

next definition stage

Applies to