Is it possible to perform a web search based on an image input?

There are several services that provide this: Google, Bing, TinEye, and maybe others. I am not sure which can be accessed programmatically and which are the easiest to use from Mathematica.

I am looking for the simplest way to take an Image object in Mathematica and search the web for duplicates or highly similar images. Whichever service is the simplest to access would suit me.

  • 1
    $\begingroup$ Based on the Mathematica documentation for Google Custom Search and Bing, image input appears not to be possible with those services. FWIW I did test Google Custom Search while investigating this question and even in the web GUI it's not possible to set up a search engine that accepts image input. $\endgroup$ – C. E. Sep 11 '16 at 21:37
  • 1
    $\begingroup$ It's not 100% clear (as I'm not very familiar with web technologies), but it seems like Bing should allow it msdn.microsoft.com/en-us/library/dn760791(v=bsynd.50).aspx $\endgroup$ – Szabolcs Sep 12 '16 at 8:26
  • 1
    $\begingroup$ FWIW I agree that Bing appears to be able to take image input and do stuff with it, including finding similar images. $\endgroup$ – C. E. Sep 12 '16 at 20:59
  • $\begingroup$ The vision API of Google seems to be the closest I could find. But I haven't checked the pricing. $\endgroup$ – halirutan Jul 15 '19 at 20:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.