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

how to prepare image to predict mask #16

Open
vinnitu opened this issue Jun 9, 2021 · 1 comment
Open

how to prepare image to predict mask #16

vinnitu opened this issue Jun 9, 2021 · 1 comment

Comments

@vinnitu
Copy link

vinnitu commented Jun 9, 2021

Hello.

As I see model learned on aligned faces.
All faces in center of image and most of it is normalized (see in one direction).

But what we need to do with any photo with face?
Do we need find, rotate, crop area of face before predict?
Or this library do it by themself?

@thangtran480
Copy link
Owner

Hi @vinnitu,

In my work, all images used in training are normalized images. In reality, you can add a preprocessing step that can use dlib to normalize the face image to be the same as the input image of the model

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