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.