This work extends 3DDFA, named 3DDFA_V2, titled Towards Fast, Accurate and Stable 3D Dense Face Alignment, accepted by ECCV 2020. Compared to 3DDFA, 3DDFA_V2 achieves better performance and stability. Besides, 3DDFA_V2 incorporates the fast face detector FaceBoxes instead of Dlib. A simple 3D render written by c++ and cython is also included. If you are interested in this repo, just try it on this google colab!
The usage is very simple.
git clone https://github.com/cleardusk/3DDFA_V2.git cd 3DDFA_V2
python3 demo.py -f examples/inputs/emma.jpg # -o [2d_sparse, 2d_dense, 3d, depth, pncc, pose, uv_tex, ply, obj] python3 demo_video.py -f examples/inputs/videos/214.avi python3 demo_video_smooth.py -f examples/inputs/videos/214.avi python3 demo_webcam_smooth.py
For example, running
python3 demo.py -f examples/inputs/emma.jpg -o 3d will give the result below:
More features to see here.
Don't forget to tag @cleardusk in your comment, otherwise they may not be notified.