Self-Supervised Monocular 3D Face Reconstruction by Occlusion-Aware Multi-view Geometry Consistency(ECCV 2020, unfinish, try to finish before August 15)
This is an official python implementation of MGCNet. This is the pre-print version https://arxiv.org/abs/2007.12494.
- video
-
Full video can be seen in [YouTube] https://www.youtube.com/watch?v=DXzkO3OwlYQ
git clone --recursive https://github.com/jiaxiangshang/MGCNet.git
cd MGCNet
(sudo) pip install -r requirement.txt
The thirdlib(diff render) is from https://github.com/google/tf_mesh_renderer. I fork and make changes, and the setting is bazel==10.1, gcc==5.4
- 3dmm + network weight https://drive.google.com/file/d/1RkTgcSGNs2VglHriDnyr6ZS5pbnZrUnV/view?usp=sharing Extrack this file to /MGCNet/model
- pretain https://drive.google.com/file/d/1jVlf05_Bm_nbIQXZRfmz-dA03xGCawBw/view?usp=sharing Extrack this file to /MGCNet/pretain
- data https://drive.google.com/file/d/1Du3iRO0GNncZsbK4K5sboSeCUv0-SnRV/view?usp=sharing Extrack this file to /MGCNet/data (We can not provide all data as it is too large and the lisence of MPIE dataset[http://www.cs.cmu.edu/afs/cs/project/PIE/MultiPie/Multi-Pie/Home.html]).
- data: landmark ground truth(https://github.com/1adrianb/2D-and-3D-face-alignment) We use the SFD face detector
- data: skin prob I get help from Yu DENG([email protected]), maybe your can ask help from him.
- test_image.py(unfinish) This is used to inference single unprocessed image(cmd in file)
- test_prepro_folder.py(unfinish) Test all the images in a folder which processed by face detection and face alignment. This file can also render the images(geometry,texture,shading,multi-pose), like above or in our paper(read code).
- train_unsupervise.py(finish)
- 3D face render(unfinish)ing for comparison.
- Build aligned face for your face model.
This part aim at that you can read the code easily.(I will also comment in the code)
- data structure
- logic
If you use this code, please consider citing:
eccv
Please contact [email protected] or open an issue for any questions or suggestions.