Fallback for face(s) gravity
AnsweredHi,
I have the impression (though I haven't found a clear statement in the documentation) that using the face or faces gravity on an image without a face falls back to the north gravity. Is that correct? Is there a way I can influence that fallback? Our use case is that we want to display user-uploaded profile images that mostly display persons, but we can't be sure of that. In case there is no face, we'd like a fall back to the center gravity, since that is much more natural than displaying the top part of the image.
Thanks and cheers,
Daniel
-
Hi Daniel,
The default fallback gravity for face detection is indeed north because the face is in the top part of post standard photos.
However, we've added new gravity options that allows fallback to center gravity as requested. It will be available in our next system update in the next few days, we will keep you posted.Thanks,
Orly
0 -
Hi Orly,
as always, thanks for your immediate action and perfect support!
However, I'd like to challenge this statement: "The default fallback gravity for face detection is indeed north because the face is in the top part of post standard photos." - While it's surely correct that faces are more likely to be in the top half of the photo, when talking about the fallback, then_ _we are talking about images where there are no faces (of course, assuming that your face-detection works reliably ;-) ). And for those images (that is, images with no faces), I think that the center gravity is a more natural way of cropping.
Anyways, it's surely the best approach to make this configurable and make your customers choose what best fits their use case. Just wanted to express my 2 cents on this.
Cheers, and thanks again, Daniel
0 -
Hi Daniel,
Thanks so much for sharing that thought, it's an excellent point. I will run it by the team.
We will be in touch shortly.
Thanks, Orly
0 -
Hi Daniel,
I wanted to update you that the system was updated with support for** 'center' fallback gravity for face detection based cropping** in addition to the default 'north' based gravity.
The new gravity options are 'face:center' and 'faces:center'. Both are identifier to face/faces gravity but the fallback gravity in case that no faces are detected is center instead of north, as you can see in the following samples:
Default fallback to north:
Fallback to center:
0 -
Orly,
great! Thanks a lot for the super quick implementation! Never experienced such an amazing customer oriented service with any other service - keep up the great work!
Cheers, Daniel
0
Post is closed for comments.
Comments
5 comments