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/eye detection in thumbnails #11

Open
deanmoses opened this issue Nov 29, 2023 · 0 comments
Open

Face/eye detection in thumbnails #11

deanmoses opened this issue Nov 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@deanmoses
Copy link
Owner

deanmoses commented Nov 29, 2023

Can we automatically detect where all the faces/eyes in the image are and crop the thumbnail such that it includes all of them?

It wouldn't zoom in - it would crop the biggest square possible. So on landscape photos it would just change the x axis of the crop.

Would this happen in the uploaded image processor or on-the-fly when requesting a thumbnail that doesn't have crop info?

If it happens in the uploaded image processor, it would save the crop info to DynamoDB just like a manually selected crop, and also save that it was cropped using face detection, so that if I re-apply a better algorithm later it knows to update it.

There's an AWS Solution template that does this with Sharp + AWS Rekognition: https://aws.amazon.com/solutions/implementations/serverless-image-handler/

@deanmoses deanmoses added the enhancement New feature or request label Nov 29, 2023
@deanmoses deanmoses modified the milestone: AWS v1 Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant