Skip to content
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

Face detection not working as expected #42

Open
razvanphp opened this issue Jan 5, 2025 · 2 comments
Open

Face detection not working as expected #42

razvanphp opened this issue Jan 5, 2025 · 2 comments

Comments

@razvanphp
Copy link

Hello,

Thank you for your work and sharing it, really appreciated.

I've tried it for accurate face detection, but the results are not as good as I would expect. Some parts are not included in the mask and limiting to "[semnatic] face only" also does not do a great job, bleeding a lot.

Any idea how to improve this? Fine-tuning on some face datasets would help?

Here are some samples:

image (7)
image (6)

@CoderZhangYx
Copy link
Collaborator

Hi, you may try to prompt the model with "[semantic] human face", which is our employed datasets' annotation.
Besides, if you want super accurate segmentation masks, our model may not serve well because we focus more on universal tasks. You may use part-segmentation datasets like humanparsing, PartImageNet and pascal-part to finetune the model, or simply apply other strong specialist models.

@CoderZhangYx
Copy link
Collaborator

Furthermore, if you want to include human hair, try to prompt with "[semantic] head"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants