johnwmillr / Facer

Simple (🤞) face averaging (🙂) in Python (🐍)
MIT License
80 stars 11 forks source link

Saves average faces with holes in them #14

Closed sashavor closed 1 year ago

sashavor commented 1 year ago

For some combinations of images, the average face that gets saved has a hole, usually around the mouth area: image image

Any idea what this may be due to?

Thanks for your amazing work!

johnwmillr commented 1 year ago

That's an odd bug you're running into, I'm not sure off the top of my head might be causing it. I assume there aren't any sorts of black boxes in the source images? Could you attach or provide a link to an example set of images that causes the issue?

sashavor commented 1 year ago

cleaner.zip Here you go! The holes aren't in the original images, no. But maybe it's because it can't find the mouth landmark in one or more images?