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

Does this project support 4k facial images ? #358

Open
SakuraMaiii opened this issue Mar 9, 2024 · 1 comment
Open

Does this project support 4k facial images ? #358

SakuraMaiii opened this issue Mar 9, 2024 · 1 comment

Comments

@SakuraMaiii
Copy link

SakuraMaiii commented Mar 9, 2024

I feel like I haven't accurately get the face box and landmarks。Does the project have a limited maximum resolution ?Looking forward to your reply sir

@SakuraMaiii SakuraMaiii changed the title if this project supports 4k facial images? Does this project support 4k facial images ? Mar 9, 2024
@marcdewa
Copy link

marcdewa commented Aug 6, 2024

i have experienced this issue as well when using 4K images. It works if I downscale the resolution to 50% when using the default face detector (which is SFD). However, it works fine at full resolution when using the 'blazeface' front camera detector.

to use 'blazeface' face detector simply add face_detector='blazeface' when init:

fa = face_alignment.FaceAlignment(face_alignment.LandmarksType.TWO_D, flip_input=False, face_detector='blazeface')

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