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
- Install Python 2.7, Git and Redis
- git clone https://github.com/bibliotechy/identify-by-color.git
- cd identify-by-color
- pip install -r requirements.txt
- download
all.json.gz
DPLA data snapshot - ./download.py all.json.gz
- ./server.py