Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google reverse image search API

Tags:

android

Is there an API for reverse search? if not how can I make reverse image search requests from an android app?

like image 952
code511788465541441 Avatar asked Oct 21 '12 11:10

code511788465541441


People also ask

Does Google have an API for image search?

Google Reverse Image API allows to get results for image search https://images.google.com .

Does Google still have reverse image search?

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 Google reverse image free?

Search By Image is a free reverse image search app that helps you find images or photos that are similar. It uses popular search engines, such as Google, Bing, Yandex, and Tiny, and it's available completely free for Android devices only.


2 Answers

i have implemented a "Reverse Search JSON REST API using Google Image Search via HTTP".

it is actually very simple to do using "httpunit" framework that is even running javascript on the server. this is needed to execute the Google image search request

https://images.google.com/searchbyimage?image_url=

it worked very well. we Have integrated it into an App that

  • was just simply doing a picture,
  • shrink it,
  • upload it to public server,
  • use this URL
  • call REST API + get JSON response (see below)
  • display text and similar images

the server

  • goes to Google image server (via HTTP) with internet-accessible-URL
  • run https://images.google.com/searchbyimage?image_url=image encoded url
  • get response, run javascript from Google on server
  • search for specific html-tags, classes or IDs
  • create JSON response

You get from Google

  • the "tag / title" ,
  • similar images with all meta data (text snippet, html snippet, original URL, thumbnail URL, size, dimensions, ...)

with these information you can display easily the detected tag, similar online images with its texts.

but: unfortunatly Google's machine detection is very good and found my REST-API and closed it.

so for now - Google did not announced an API for this, even it is included in existing Google Apps - very very SAD

like image 86
Lorenz Hänggi Avatar answered Sep 16 '22 13:09

Lorenz Hänggi


You may find the following project useful. It's essentially a scraper server which you send the url of an image to (using curl for instance) and it returns a json array with various useful tidbits.

http://mrisa.mage.me.uk/

like image 26
R88 Avatar answered Sep 19 '22 13:09

R88