←back to thread

Passport Photos

(maxsiedentopf.com)
1538 points gaws | 4 comments | | HN request time: 0.813s | source
1. jftuga ◴[] No.42071254[source]
tangent:

I wrote this: https://github.com/jftuga/photo_id_resizer

    This program is used to resize large photo ID images. When image resizing occurs, a content aware image resizing library is used with its face detection algorithm to avoid face deformation.
replies(2): >>42076220 #>>42076690 #
2. albumen ◴[] No.42076220[source]
honest question: why is this needed? I would have thought that when downsizing an image, most programs would (should?) use bicubic interpolation to give a pretty accurate downsampled version of the image.
replies(1): >>42076324 #
3. jftuga ◴[] No.42076324[source]
https://github.com/esimov/caire?tab=readme-ov-file#face-dete...

This shows an example of what can happen when you perform a basic resizing of faces. You will notice the distortion when this library is not used. When I had to resize 40,0000 photos, I noticed better visual outcomes when using this library for my testing set of photos.

4. jval43 ◴[] No.42076690[source]
A screenshot or example would help. Interesting idea.