ImageInsights Class
- java.
lang. Object - ResponseBase
- Identifiable
- Response
- com.
microsoft. azure. cognitiveservices. search. imagesearch. models. ImageInsights
- com.
public class ImageInsights extends Response
The top-level object that the response includes when an image insights request succeeds. For information about requesting image insights, see the [insightsToken](https://docs.microsoft.com/en-us/rest/api/cognitiveservices/bing-images-api-v7-reference#insightstoken) query parameter. The modules query parameter affects the fields that Bing includes in the response. If you set [modules](https://docs.microsoft.com/en-us/rest/api/cognitiveservices/bing-images-api-v7-reference#modulesrequested) to only Caption, then this object includes only the imageCaption field.
Method Summary
Modifier and Type | Method and Description |
---|---|
Query |
bestRepresentativeQuery()
Get the bestRepresentativeQuery value. |
Image |
imageCaption()
Get the imageCaption value. |
String |
imageInsightsToken()
Get the imageInsightsToken value. |
Image |
imageTags()
Get the imageTags value. |
Images |
pagesIncluding()
Get the pagesIncluding value. |
Recipes |
recipes()
Get the recipes value. |
Recognized |
recognizedEntityGroups()
Get the recognizedEntityGroups value. |
Related |
relatedCollections()
Get the relatedCollections value. |
Related |
relatedSearches()
Get the relatedSearches value. |
Aggregate |
shoppingSources()
Get the shoppingSources value. |
Images |
visuallySimilarImages()
Get the visuallySimilarImages value. |
Images |
visuallySimilarProducts()
Get the visuallySimilarProducts value. |
Inherited Members
Method Details
bestRepresentativeQuery
public Query bestRepresentativeQuery()
Get the bestRepresentativeQuery value.
Returns:
imageCaption
public ImageInsightsImageCaption imageCaption()
Get the imageCaption value.
Returns:
imageInsightsToken
public String imageInsightsToken()
Get the imageInsightsToken value.
Returns:
imageTags
public ImageTagsModule imageTags()
Get the imageTags value.
Returns:
pagesIncluding
public ImagesModule pagesIncluding()
Get the pagesIncluding value.
Returns:
recipes
public RecipesModule recipes()
Get the recipes value.
Returns:
recognizedEntityGroups
public RecognizedEntitiesModule recognizedEntityGroups()
Get the recognizedEntityGroups value.
Returns:
relatedCollections
public RelatedCollectionsModule relatedCollections()
Get the relatedCollections value.
Returns:
relatedSearches
public RelatedSearchesModule relatedSearches()
Get the relatedSearches value.
Returns:
shoppingSources
public AggregateOffer shoppingSources()
Get the shoppingSources value.
Returns:
visuallySimilarImages
public ImagesModule visuallySimilarImages()
Get the visuallySimilarImages value.
Returns:
visuallySimilarProducts
public ImagesModule visuallySimilarProducts()
Get the visuallySimilarProducts value.
Returns:
Applies to
Azure SDK for Java