BingImages Interface

public interface BingImages

An instance of this class provides access to all the operations defined in BingImages.

Method Summary

Modifier and Type Method and Description
BingImagesVisualSearchDefinitionStages.WithExecute visualSearch()

Visual Search API lets you discover insights about an image such as visually similar images, shopping sources, and related searches. The API can also perform text recognition, identify entities (people, places, things), return other topical content for the user to explore, and more. For more information, see [Visual Search Overview](https://docs.microsoft.com/azure/cognitive-services/bing-visual-search/overview).

ImageKnowledge visualSearch(VisualSearchOptionalParameter visualSearchOptionalParameter)

Visual Search API lets you discover insights about an image such as visually similar images, shopping sources, and related searches. The API can also perform text recognition, identify entities (people, places, things), return other topical content for the user to explore, and more. For more information, see [Visual Search Overview](https://docs.microsoft.com/azure/cognitive-services/bing-visual-search/overview).

Observable<ImageKnowledge> visualSearchAsync(VisualSearchOptionalParameter visualSearchOptionalParameter)

Visual Search API lets you discover insights about an image such as visually similar images, shopping sources, and related searches. The API can also perform text recognition, identify entities (people, places, things), return other topical content for the user to explore, and more. For more information, see [Visual Search Overview](https://docs.microsoft.com/azure/cognitive-services/bing-visual-search/overview).

Method Details

visualSearch

public BingImagesVisualSearchDefinitionStages.WithExecute visualSearch()

Visual Search API lets you discover insights about an image such as visually similar images, shopping sources, and related searches. The API can also perform text recognition, identify entities (people, places, things), return other topical content for the user to explore, and more. For more information, see [Visual Search Overview](https://docs.microsoft.com/azure/cognitive-services/bing-visual-search/overview).

Returns:

the first stage of the visualSearch call

visualSearch

public ImageKnowledge visualSearch(VisualSearchOptionalParameter visualSearchOptionalParameter)

Visual Search API lets you discover insights about an image such as visually similar images, shopping sources, and related searches. The API can also perform text recognition, identify entities (people, places, things), return other topical content for the user to explore, and more. For more information, see [Visual Search Overview](https://docs.microsoft.com/azure/cognitive-services/bing-visual-search/overview).

Parameters:

visualSearchOptionalParameter - the object representing the optional parameters to be set before calling this API

Returns:

the ImageKnowledge object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
ErrorResponseException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

visualSearchAsync

public Observable visualSearchAsync(VisualSearchOptionalParameter visualSearchOptionalParameter)

Visual Search API lets you discover insights about an image such as visually similar images, shopping sources, and related searches. The API can also perform text recognition, identify entities (people, places, things), return other topical content for the user to explore, and more. For more information, see [Visual Search Overview](https://docs.microsoft.com/azure/cognitive-services/bing-visual-search/overview).

Parameters:

visualSearchOptionalParameter - the object representing the optional parameters to be set before calling this API

Returns:

the observable to the ImageKnowledge object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to