4 ms·
tangent: I wrote this: https://github.com/jftuga/photo_id_resizer https://github.com/jftuga/photo_id_resizer This program is used to resize large photo ID
by jftuga 2y ago
tangent:
I wrote this: https://github.com/jftuga/photo_id_resizer 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.
- albumen 2y agohonest 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.
- jftuga 2y agohttps://github.com/esimov/caire?tab=readme-ov-file#face-detection 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.
- jval43 2y agoA screenshot or example would help. Interesting idea.