matthewearl / photo-a-day-aligner

Tools to help compose images from daily self-portrait time lapses
MIT License
85 stars 22 forks source link

Multiple Faces #7

Open subins2000 opened 5 years ago

subins2000 commented 5 years ago

Feature Request

I have some pics where there are multiple people i.e faces in it. Currently, those pics are skipepd.

It would be great if there's a way to face recognize and align image to that face.

TrainedPro commented 2 years ago

An interesting solution to this would be to implement logic which chooses the biggest or the most prominent face out of all the faces and aligns it according to that

subins2000 commented 2 years ago

It currently uses the biggest face. I now implemented face_recognition to be more accurate : https://github.com/subins2000/SelfieADay/pull/4

The face recognition will only be run when there are multiple faces in the image