Analyze Images (Part 2)
Generate a Smart-Cropped Thumbnail
and Remove Background
Applications and websites
frequently use thumbnails to display smaller representations of photos. A
tourism website might, for instance, list all of the city's tourist attractions
with a brief, representative thumbnail image for each one.
The full image would only
be seen when the visitor chooses the details page for a particular attraction.
You can use the Azure AI
Vision service to create a thumbnail with different dimensions (and aspect
ratio) from the original image. You can also choose to utilize image analysis
to identify the image's main subject, or region of interest, and make that the
thumbnail's focal point. When cropping an image to alter its aspect ratio, this
ability to identify the region of interest is very helpful.
You can specify the
aspect ratio of the cropped image (width / height), ranging from 0.75 to 1.80 .
Remove Image Background
The image can be divided
into the main subject and all background elements using the background removal
tool. In order to accomplish this feature, Azure AI Vision creates an alpha
matte of the foreground subject, which is subsequently used to return either
the background or the foreground.
Conclusion
We have successfully
learnt about various methods of image analysis.
Comments
Post a Comment