Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
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. 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
You can’t perform that action at this time.