Extracting quality square crops of images from non-square images

David Ebbo 5 Reputation points
2024-05-07T10:42:33.6033333+00:00

I need to automatically extract quality square thumbnails from non-square images. By 'quality', I mean what most people would recognize as being a good crop. I'm particularly interested in processing images of animals and plants.

e.g. if you take this tiger image, you would expect a good square crop to include the full head, and as much of the body as can fit.

I just tried using Vision Studio (https://portal.vision.cognitive.azure.com/demo/image-smart-cropping), and this is the crop it came up with, that it claims "emphasizes the images' most important areas":

User's image

Question: is there a way to get better results from this API?

Azure Computer Vision
Azure Computer Vision
An Azure artificial intelligence service that analyzes content in images and video.
338 questions
{count} votes