-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
semantic segmantation #25
Comments
As shown in the figure blow, the 2nd column is the head region For the definition of face region in semantic segmentation, please refer to Face Parsing with RoI Tanh-Warping. |
Thank you for the great code! The code works well with the provided example images. However, to use my own images, I do not know how to generate the initial .mat file with the semantic segmentation. Do you have any links to an implementation of "Face Parsing with RoI Tanh-Warping" that returns the matrix or directly creates the .mat file? Unfortunately, I did not find any. Help would be greatly appreciated, thank you already! |
For your purpose, you can refer to #15 . |
Thanks for your reply. For anybody else struggling with this: In the meantime I found this repo that does an excellent job with segmentation. It produces an segmentation image with the different regions coloured, but some small changes to the code (you can check the branch on my profile) let you create a .mat file that works really well with this repository here. |
@LeoGitGuy , cool! Thanks for your suggestion, I will keep this issue open for other people's reference. |
I can't find a specific method to generate mat files on your home page. I am a novice. I hope you can give me as detailed steps as possible to answer my doubts. Thank you very much for your help. |
You can use the repo of the face segmentation on my profile. If you execute the main function |
@LeoGitGuy How about the _landmark.txt and _detection.txt files? |
Also, the said python file does NOT generate a .mat file. |
but,in your repo, after running test_enhance_single_unalign.py . I can't find .mat in results folder |
Is there a repo or any method to generate the _detection.txt input file so I can test with my own input image. @sicxu @LeoGitGuy |
You can use this code to generate landmark.txt
pip install face_alignment before running this code |
Can you provide the details of the modifications to test_enhance_single_unalign.py when you generated the .mat file? Thank you so much! |
which face areas do you required to form a face like ears, hair face, mouth (lower or upper or both lips) and what else
The text was updated successfully, but these errors were encountered: