The Networks for "Hair-GAN: Recovering 3D Hair Structure from a Single Image using Generative Adversarial Networks"
Ref.to [https://arxiv.org/abs/1811.06229]
This repository is a mess. Hope you can dig out something useful. Good luck!
An overview of our Hair-GANs architecture. The generator and the discriminator are trained in conjunction.
This folder contains the code for orientation and confidence map generation with an image as input. Please begin from the "toRunConfidenceBuider" to track the implimentation of Unsupervised Texture Segmentation Using Gabor Filters
The folder includes: strand-level hair model, strip mesh hair model, a bust model, and some code (voxelhair.zip, StrandModel). In voxelhair.zip, there's something about how to generate the training data. Sorry, I can't make the code run now due to the incompatible of the compilation environment on my current PC. As the training dataset generated from the strand-level hair + bust model, is too large to be uploaded, I upload some examples in the folder of "training_data_example" for you to take a reference.
If you use our model or data, please cite our paper:
@article{zhang2019hair, title={Hair-GAN: Recovering 3D hair structure from a single image using generative adversarial networks}, author={Zhang, Meng and Zheng, Youyi}, journal={Visual Informatics}, volume={3}, number={2}, pages={102–112}, year={2019}, publisher={Elsevier} }