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

Blurring does not work correctly when the face takes most of the image #42

Open
zorun opened this issue Apr 2, 2024 · 0 comments
Open

Comments

@zorun
Copy link

zorun commented Apr 2, 2024

I tried the current code on profile pictures, where the face takes most of the image. It does not work correctly:

  • on some pictures, only the eyes are blurred, especially for people with glasses
  • on some pictures, only part of the face is blurred (i.e. either the hair, the beard, the ears, half of the face...)
  • on some pictures, nothing is blurred at all

It almost feels like the algorithm does not find a rectangle wide enough in the JPEG structure, so it settles on smaller rectangles that don't cover the face completely.

My test pictures are small and square (between 200x200 and 300x300 pixels). Obviously I can't share examples.

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

1 participant