/pigmentocracia

Comparison of skin color of different social sectors by analyzing photos to understand racial privilege in Mexico

Primary LanguagePython

pigmentocracia

Comparison of skin color of different social sectors by analyzing photos to understand racial privilege in Mexico

Deepgaze Prerequisites

The current version of Deepgaze is based on Python 2.7, a porting for Python 3.0 has been scheduled for the next year.

To use the libray you have to install:

sudo pip install numpy
  • OpenCV 2.x (not compatible with OpenCV >= 3.x) [link]
sudo apt-get install libopencv-dev python-opencv
sudo pip install tensorflow

Some examples may require additional libraries:

To avoid conflicts, setup a virtual environment:

  • Run the following command to setup virtual environment
virtualenv env
  • Activate the virtual environment
source env/bin/activate
  • Install the project dependencies