I noticed that every image that I upload to Facebook is automatically cropped for thumbnails. Automatically, I mean that the user is not involved in setting crop parameters in any way. My concern is that even with the automatic cropping of the thumbnails that Facebook receives, they are ultimately intelligent (they somehow crop the exact area where the person’s face or figure is located). How is this possible and how to do it in PHP?
PS I can not install the installation on the server. And even without face detection, there is a way to make a good guess. I noticed that for large images, facebook requires manual crops and does automatic cropping only for small images. The main goal is to make smart square cultures, and then resize them for sketches.
Windom earle
source share