Just download images using google image search engine.
# If word argument is omitted, words.txt in the same directory is used instead.
ruby google_images.rb word1 word2 ...ruby update_image_names.rb file_names.txtand if file_names.txt contains
apples
faces
animalsthen
apples/apples.txt
faces/faces/txt
animals/animals.txtwill be generated.
Each file contains names of images for each category.
For instance, apples.txt will contain
apple/apple1.jpg
apple/apple2.jpg
apple/apple333.pngNote image file name comes from the original images under apples/ directory in this case.