wangguanzhi / LADN

This is the implementation for Local Adversarial Disentangling Network for Facial Makeup and De-Makeup
https://georgegu1997.github.io/LADN-project-page/
181 stars 26 forks source link

How to create synthetic ground truth images #2

Closed OhkumaTakumi closed 4 years ago

OhkumaTakumi commented 5 years ago

The traning dataset includes synthetic ground truth. However when I would like to add the new images to the dataset, I cannot prepare synthetic ground truth for new images. So would you tell me how to create synthetic ground truth?

georgegu1997 commented 5 years ago

Thanks for the question!

Since the libraries required for generating synthetic ground truth has conflicts with those for training, we didn't include the script for synthesizing in this repo. We will update them in another repo later.

The overall pipeline is facial landmark detection (we used Face++ API together with PyStasm) -> face cropping and warping (Face Morpher) -> image blending (Poisson blending) -> some heuristic to enhance the generated colour.

OhkumaTakumi commented 5 years ago

Thank you for the reply and your great work!

I'm waiting you update the code for ground truth in another repo.

cwzcwz commented 4 years ago

@georgegu1997 hello,Is this problem solved ? I also want to know how to get the synthetic ground truth.

DanielMao2015 commented 4 years ago

@georgegu1997 What kind of the heuristic way is your pipeline to enhance the generated colour? Since I use the face morpher mentioned above but the result seems to not be similar with that of your released dataset.

sywh commented 4 years ago

Waiting for the code of synthesizing ground truth, too...

cailk commented 4 years ago

@georgegu1997 Hi! Sorry to bother. I would like to know when will the code for synthesizing ground truth be released?

georgegu1997 commented 4 years ago

Sincere apologies for such a long delay. The code for synthetic ground truth is updated here. Hope this is still helpful to you guys.