No description, website, or topics provided.
JavaScript CSS Python HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
logs
static
templates
.gitignore
LICENSE
README.md
download.py
requirements.txt
server.py

README.md

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. You can see the application running here.

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