Searching for visual content using Bing Visual Search

Using the Bing Visual Search API, one can interpret images. This API allows us to gain insights about images. This includes finding visually similar images, searches, and shopping sources. It can also identify people, places, and objects, as well as text.

Sending a request

You will typically upload an image to the API to retrieve insights on it. In addition, you can pass on an URL to an image.

Note

The endpoint you should use to query the Bing Visual Search API is https://api.cognitive.microsoft.com/bing/v7.0/images/visualsearch.

In either scenario, the following query parameters can be added:

  • cc: The two-letter language code of the country where the results should come from.
  • mkt: The market where ...

Get Learning Microsoft Cognitive Services - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.