Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
315 views
in Technique[技术] by (71.8m points)

android - Google reverse image search API

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...