Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Custom Search API - Reverse image search

Tags:

I've got a collection of images that I'm missing information for. I'd like to be able to do a Google reverse image search to find names, keywords, links to similar images, etc. I'm aware that scraping the search results page is against the TOS, and have gotten suggestions that using the Custom Search API is the right way to go about it, but I haven't been able to find anything in the documentation detailing reverse image search. Is anyone able to point me in the right direction if this is possible with the API, or verify if it is, in fact, supported?

Much appreciated!

like image 384
carbide20 Avatar asked Jan 26 '15 20:01

carbide20


People also ask

Does Google have an image search API?

Specifically, their Google Image Search API enables you to scrape and access image search results on Google in real-time. You can use similar parameters as for a standard Google search when searching for an image.

Can you reverse search an image on Google?

Google's reverse image search is a breeze on a desktop computer. Go to images.google.com(Opens in a new window), click the camera icon, and either paste in the URL for an image you've seen online, upload an image from your hard drive, or drag an image from another window.

Is there a better reverse image search than Google?

Bing Image Search Bing's reverse image search is even easier to get to than Google's because the image search icon is available in the search box on the Bing home page — no need to go to the Image Search page. Click the Instagram-like Search using an image icon to use Bing's visual search.

How do I use Google Custom Search API?

GET YOUR GOOGLE SEARCH API KEY Accessing Google's Custom Search JSON API requires the use of an API key. To get this key, navigate to the Custom Search JSON API page and click Get a Key. Choose an existing project, or create a new one, and click Next. Note and copy your API key.


1 Answers

As for current API I have not found any mention of reverse image search functionality. not even anything except string based queries. You can look for yourself in the detail API references for custom search.

https://developers.google.com/custom-search/docs/xml_results

https://developers.google.com/custom-search/json-api/v1/reference/cse/list

So Google-custom-search doesn't provide that facility.

After looking at other APIs provided, none of them also provide this functionality. Try looking at all the different kinds of APIs supported by the Google here:

https://developers.google.com/apis-explorer/#p/

Thus the conclusion, no reverse image search thru API form Google. (this might change, I cant say anything, look at the links provided above)

There are paid apis available from some vendors.

TinEye API https://services.tineye.com/TinEyeAPI

Incandescent API http://incandescent.xyz/pricing/

Otherwise you have to ask Google to pardon you for the little TOS violation for your pet project :)

like image 65
Aavaas Avatar answered Oct 02 '22 22:10

Aavaas