thaoshibe / BeautyGAN-PyTorch-reimplementation

A re-implementation of BeautyGAN: Instance-level Facial Makeup Transfer with Deep Generative Adversarial Network (ACM MM'18)
MIT License
77 stars 16 forks source link

Advice for segmentation #8

Closed BobaBobek closed 3 years ago

BobaBobek commented 3 years ago

Hi, I have different makeup image database (non-makup + makup images), but there is no segmentation. Could you please advice me how to prepare segmented images? Is there any library? Thanks

thaoshibe commented 3 years ago

Hello there, To get facial segmentation, I used [face-parsing.Pytorch]. (There are lots of facial segmentation models out there. face-parsing.Pytorch is just my personal recommendation).

facial-segmentation

_(Face-parsing will give you facial attributes such as upper lip, lower lip, left eye, right eye, hair, etc. Check here for details)_

Hope this helps!

BobaBobek commented 3 years ago

Great, thanks lot!

thaoshibe commented 3 years ago

Sure! Feel free to discuss if you have any other trouble! I'm happy to help!