Skip to content

Download images from flickr (eg: dogs and cats) and use them for machine learning

Notifications You must be signed in to change notification settings

gionatamettifogo/flickr-to-dataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flickr-to-dataset

Given a set of keywords, search the Flickr API, and download the images. Organize them into training, validation and test sets so they can be used for machine learning.

  1. Edit config.json.default to include your Flickr API key/secret (rename config.json)
  2. Edit keywords.txt to choose what you want to download (eg: cats, dogs)
  3. Run via python flickr_to_dataset.py --create

Images will be stored under /data/

Example: /data/train/dogs/

Example: /data/train/bees/

Thanks Phil Adams for the original flickr code

About

Download images from flickr (eg: dogs and cats) and use them for machine learning

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages