Steps for installation of openface
brew install bash coreutils curl findutils opencv
brew install python --framework --universal --with-brewed-openssl
brew install boost-python --universal
1. git clone --recursive https://github.com/cmusatyalab/openface.git
2. cd openface
3. mkvirtualenv -p /usr/local/bin/python2.7 openfaceenv (make a virtual environment openfaceenv)
4. pip install numpy scipy pandas scikit-learn scikit-image (make sure you are in the virtual env)
5. cp /usr/local/lib/python2.7/site-packages/cv* .virtualenvs/openfaceenv/lib/python2.7/site-packages (copy the open cv files into the virtual env sitepacakges )
6. deactivate
For installing dlib:
1. clone the github repo, https://github.com/davisking/dlib
2. `cd` to the repo
3. run `python setup.py install`
git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch
bash install-deps
./install.sh
luarocks install dpnn
luarocks install nn
luarocks install optim
luarocks install csvigo
luarocks install cunn (failed, I don't have cuda installed)
luarocks install fblualib (failed, no match results)
luarocks install torchx
Finally, go to the openface repo and run
python setup.py install