ImageInsights Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. imagesearch. models. ResponseBase - com.
microsoft. azure. cognitiveservices. search. imagesearch. models. Identifiable - com.
microsoft. azure. cognitiveservices. search. imagesearch. models. Response - com.
microsoft. azure. cognitiveservices. search. imagesearch. models. ImageInsights
- com.
- com.
- com.
- 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.
Constructor Summary
Constructor | Description | |
---|---|---|
ImageInsights() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Query |
bestRepresentativeQuery()
Get the best |
Image |
imageCaption()
Get the image |
java.lang.String |
imageInsightsToken()
Get the image |
Image |
imageTags()
Get the image |
Images |
pagesIncluding()
Get the pages |
Recipes |
recipes()
Get the recipes value. |
Recognized |
recognizedEntityGroups()
Get the recognized |
Related |
relatedCollections()
Get the related |
Related |
relatedSearches()
Get the related |
Aggregate |
shoppingSources()
Get the shopping |
Images |
visuallySimilarImages()
Get the visually |
Images |
visuallySimilarProducts()
Get the visually |
Methods inherited from Identifiable
Methods inherited from Response
Methods inherited from java.lang.Object
Constructor Details
ImageInsights
public ImageInsights()
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