We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › google image search (**updated)
Page Index Toggle Pages: 1
google image search (**updated) (Read 3233 times)
google image search (**updated)
Sep 30th, 2007, 8:00pm
 
hi there,

i have an idea for a project in mind, but i'm not sure if i can do it with processing.

the main part of the idea is
-an input form where the user can put in a word
-then i want processing to start a google image search for this word
-one (or more) image(s) from the search results (picked randomly) are displayed

i know that it's easy to display an image from the web.
but would all that google-stuff work?
i searched the reference, forums and 3rd party libraries all day but i couldn't find anything.

thank in advance!
Re: google image search (+ display)
Reply #1 - Oct 1st, 2007, 1:49pm
 
Sure you can do that using google api's, see this 3nd library :

http://users.design.ucla.edu/%7Etatsuyas/tools/google/index.htm

Cheers,
ana.

Re: google image search (+ display)
Reply #2 - Oct 1st, 2007, 4:53pm
 
hi ana,

thanks a lot for your reply!

in the meantime is decided to use flickr instead of google, because the imeages provided by the google search are of a too varied quality/filesize.

i managed to send requests to flickr through a php script that i wrote.

the only thing is:
how can i read from the php file with processing?
i need to send one variable from the php file to processing.

is that possible?
Re: google image search (**updated)
Reply #3 - Oct 2nd, 2007, 5:50pm
 
Hi uname

You're welcome,

Be sure to check this page http://www.processing.org/reference/libraries/index.html and especially this one http://www.realtimeart.com/switchboard/ (even if not so supported yet) and check the flickr api reference too http://www.flickr.com/services/api/ (if you manage to build it at your own).

I haven't be into using php and processing yet but i'm sure it's possible (maybe a search with php on the website should return some relevant informations).

cheers.
Re: google image search (**updated)
Reply #4 - Oct 5th, 2007, 7:08pm
 
thanks!
Re: google image search (**updated)
Reply #5 - Feb 14th, 2010, 5:13pm
 
I was actually trying to do something similar but am not sure if I would need a Developer key for the Google API and where to get that ?
Any advice appreciated.

Thx Cheesy
Page Index Toggle Pages: 1