/identify-by-color

Primary LanguageJavaScriptMIT LicenseMIT

identify-by-color

identify-by-color is a webapp that lets you search the Digital Public Library of America by color. It was inspired by similar work done at the Cooper-Hewitt around using color for access. NO longer online.

The app is a Python flask application that uses Redis to store color information. To populate the database you'll need to run download.py with a DPLA export, which will fetch an image for an object and then process it with py-cooperhewitt-swatchbook to get the dominant colors.

Install

  1. Install Python 2.7, Git and Redis
  2. git clone https://github.com/bibliotechy/identify-by-color.git
  3. cd identify-by-color
  4. pip install -r requirements.txt
  5. download all.json.gz DPLA data snapshot
  6. ./download.py all.json.gz
  7. ./server.py