Cropping followed by face detection generating off-center images
I have recently started playing with Cloudinary, and I liked it. One of our requirements is to generate multiple versions for a given image. I am struggling with centering the face of a full body image.
I upload a 500x500px or larger image and I need a 300px face focused round version. I followed https://cloudinary.com/blog/face_detection_based_cropping and other documents but I can not seem to achieve the desired result. The face is never centered for large images. Here is an example: https://res.cloudinary.com/cloudninecare/image/upload/c_scale,q_100,w_500/c_crop,g_face:auto,h_300,q_100,r_max,w_300/v1556872837/dvpktmhpvts4qp8hvtnj.png
Please suggest me what can be done here.
Thanks for your time,
Post is closed for comments.