Google Image Grabber.py

We all do  download  images and wallpapers .It is easy if you manually  download  few  images  but while building a large data set of images containing more than 200 images is very difficult .  In order to automate this task of  downloading the images using  a simple script which downloads the full sized images from Google search  is  the shown in this blog post  .   

Let's start with the quick 'n dirty for collecting data: Google Search.
A brief non sequitur...Google Image search has gotten incredibly cool. The feature to filter results on image content is likely powered by some computer vision algorithms, though I don't know to what extent that's true. Check out this search for Vladimir Putin.

Amusing Google Image search for "vladimir Putin" + badass UPDATE: some details from Google Research on their blog here.

Search API




So, I searched for "Best wallPapers" and "Hd Images" and got a sense for what's out there. Then I wrote a script to make image searching & downloading the image faster and repeatable.

The program grabs the images on the first page of the search, and downloads them. I ran the script 5-6 times for each category with a different search query each time for simplicity and to avoid dealing with pagination.

0 comments:

Post a Comment