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

about the face preprocessing: margin & transformation #29

Closed
zhenglaizhang opened this issue Feb 1, 2018 · 2 comments
Closed

about the face preprocessing: margin & transformation #29

zhenglaizhang opened this issue Feb 1, 2018 · 2 comments

Comments

@zhenglaizhang
Copy link

zhenglaizhang commented Feb 1, 2018

Some questions need you guys to help answer, thanks in advance!

  • add fixed margin 44.
    • have you guys tried other margin values and see if any improvements?
  • similarity transformation,
    • have you guys tried other transformations, I noticed that in face_preprocess.py there are some commented code which looks like projective transform.
    • It looks like the similarity transformed image will gain black corner running test.py, I use the mtcnn crop the testing images, without resizing and fixed 44 margin. I am not sure if this is by design or I am wrong with the cropping steps -:)
      0
  • mtcnn 5 landmarks
    • It looks like mtcnn 5 landmarks are not accurate regarding side face, if use more accurate lardmarks, shall it improve the performance?
@nttstar
Copy link
Collaborator

nttstar commented Feb 1, 2018

Face alignment is not the main topic of our current work. We just follow the same pipeline of sphereface: to use 5 landmarks and then do similarity transform. The only difference is we use 112x112 instead of 112x96.
If your original face image is quite tight, black corners are likely to be happened.
We may provide a 3D-alignment library later, which will be much more accurate.

@zhenglaizhang
Copy link
Author

@nttstar great, thanks for the detailed info!

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