TODO
- Numpy:
$pip3 install numpy
- OpenCV:
$pip3 install opencv-python
- PyTorch:
$pip3 install torch torchvision
- ibug.face_detection (only needed by the test script): See this repository for details: https://github.com/hhj1897/face_detection.
git clone https://github.com/hhj1897/face_alignment.git
cd face_alignment
pip install -e .
- To test on live video:
python face_alignment_test.py [-i webcam_index]
- To test on a video file:
python face_alignment_test.py [-i input_file] [-o output_file]
TODO
[1] Bulat, Adrian, and Georgios Tzimiropoulos. "How far are we from solving the 2d & 3d face alignment problem?(and a dataset of 230,000 3d facial landmarks)." In Proceedings of the IEEE International Conference on Computer Vision, pp. 1021-1030. 2017.