Hi
Today a small post with one cool feature included in en VisionAPI: Thumbnails generation.
This operation is included inĀ VisionAPI, and we mus feed the operation with a image byte stream, the size for the thumbnail and finally the most important option: smartCropping.

SmartCropping is the cool feature for this image generation. When is sets to true, the generated image will respect the defined size, and also the most important content of the source image.
As a sample, let’s take a look at the next image. I’ve requested 120 x 120Ā thumbnail, and the source image was a Portrait withĀ 348 x 518. SmartCropping generated an square image with the content focused on the princess.

The source code is avilable inĀ GitHub https://github.com/elbruno/ProjectOxford
GreetingsĀ @Ā Madrid !
El Bruno
References
- Project Oxford
- My Azure ML VisionĀ APIs series
- My Azure ML EmotionĀ APIs series
- My Azure ML Face APIs series
Leave a reply to #AZURE – A detailed sample of thumbnail gneration and #SmartCropping with #VisionAPI | El Bruno Cancel reply