ImageInsights Class

Definition

The top-level object that the response includes when an image insights request succeeds. For information about requesting image insights, see the insightsToken query parameter. The modules query parameter affects the fields that Bing includes in the response. If you set modules to only Caption, then this object includes only the imageCaption field.

public class ImageInsights : Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Response
type ImageInsights = class
    inherit Response
Public Class ImageInsights
Inherits Response
Inheritance

Constructors

ImageInsights()

Initializes a new instance of the ImageInsights class.

ImageInsights(String, String, String, String, Query, ImageInsightsImageCaption, RelatedCollectionsModule, ImagesModule, AggregateOffer, RelatedSearchesModule, RecipesModule, ImagesModule, ImagesModule, RecognizedEntitiesModule, ImageTagsModule)

Initializes a new instance of the ImageInsights class.

Properties

BestRepresentativeQuery

Gets the query term that best represents the image. Clicking the link in the Query object, takes the user to a webpage with more pictures of the image.

Id

Gets a String identifier.

(Inherited from Identifiable)
ImageCaption

Gets the caption to use for the image.

ImageInsightsToken

Gets a token that you use in a subsequent call to the Image Search API to get more information about the image. For information about using this token, see the insightsToken query parameter. This token has the same usage as the token in the Image object.

ImageTags

Gets a list of characteristics of the content found in the image. For example, if the image is of a person, the tags might indicate the person's gender and the type of clothes they're wearing.

PagesIncluding

Gets a list of webpages that contain the image. To access the webpage, use the URL in the image's hostPageUrl field.

ReadLink

Gets the URL that returns this resource.

(Inherited from Response)
Recipes

Gets a list of recipes related to the image. For example, if the image is of an apple pie, the list contains recipes for making an apple pie.

RecognizedEntityGroups

Gets a list of groups that contain images of entities that match the entity found in the specified image. For example, the response might include images from the general celebrity group if the entity was recognized in that group.

RelatedCollections

Gets a list of links to webpages that contain related images.

RelatedSearches

Gets a list of related queries made by others.

ShoppingSources

Gets a list of merchants that offer items related to the image. For example, if the image is of an apple pie, the list contains merchants that are selling apple pies.

VisuallySimilarImages

Gets a list of images that are visually similar to the original image. For example, if the specified image is of a sunset over a body of water, the list of similar images are of a sunset over a body of water. If the specified image is of a person, similar images might be of the same person or they might be of persons dressed similarly or in a similar setting. The criteria for similarity continues to evolve.

VisuallySimilarProducts

Gets a list of images that contain products that are visually similar to products found in the original image. For example, if the specified image contains a dress, the list of similar images contain a dress. The image provides summary information about offers that Bing found online for the product.

WebSearchUrl

Gets the URL To Bing's search result for this item.

(Inherited from Response)

Methods

Validate()

Validate the object.

Applies to