required packages:
- Python 3.6
- PyTorch >= 0.4.1
- Numpy
- Scipy
- matplotlib
- Dlib
- OpenCV
- Cython
run pip install -r requirements.txt
to install the required dependencies.
- Build cython module (just one line for building)
cd utils/cython python3 setup.py build_ext -i
- Run
python3 main.py -f samples/test1.jpg
. The results will saved insamples/
directory.
- Please download models from here and put it under "models/".