Smart Image Cropping API

Smart Image Cropping API

Smart image cropping API that can intelligently identify important elements of an image and retain it during cropping.

Response example. If you want to see more check the documentation.

Free Plan $0.00 Monthly Subscribe
100 Requests / Monthly
Free for Lifetime
No Credit Card Required
MOST POPULAR
Starter Plan $19.99 Monthly Subscribe
3,000 Requests / Monthly
Standard Support
Pro Plan $49.99 Monthly Subscribe
30,000 Requests / Monthly
Standard Support
Custom Plan Volume Monthly Contact Us
Any requests volume you need

Smart image cropping API is a powerful tool that helps you to automatically generate human-like, satisfying cropped images. First, it identifies the important elements of an image by using image processing and computer vision algorithms and then crops the image using the aspect ratio or the width/height variables you've provided, without losing the most relevant parts of the content.

Use cases

This API is very useful for:

  • Media companies for displaying the most important part of the image on a smaller screen or with a different aspect ratio than the original image file.
  • Mobile apps. They have smaller frames and popular apps now have square formats for images.
  • E-commerce sites: There are many areas where a product image needs to be displayed, all in a different format (listing, product detail page, recommendations..). Smart crop API ensures the image doesn’t lose its content.

How it works

Smart image cropping API requires an image URL and one of the resizing options: aspect ratio or width/height to work.

The algorithm takes into account multiple factors while calculating the most important region of the image. It applies a set of filters: The rule of third, saliency detection, face detection, and edge detection to the given image to find the most scoring image that fits into the desired crop size and provide the most relevant content. Images shown below are the filter output of the images.

Smart image cropping API

image cropping API

Smart image cropping

What is Saliency Detection?

Saliency detection uses a set of computer vision and image processing principles to find the most eye-catching, noticeable parts of the image. Smart Image Cropping API utilizes saliency algorithms and crops the image file accordingly.

In neuroscience, saliency is described as an attention mechanism in organisms to narrow down to the important parts of what they see.

Saliency Detection

Smart Image Cropping API utilizes saliency algorithms and crops the image file accordingly. So you don't need to deal with such complications. All is done automatically for you.

Conclusion

Whether we want to improve the overall composition of an image or we just need to resize the image to make it fit into different devices, frames; we use image cropping tools. It is an easy task for a person to decide the main focus of an image and retain this area during cropping. But for the businesses that are relying on user-generated content, it might be very time-consuming to have this process done manually. You don't need to deal with such complications. All is done automatically for you through Smart Image Cropping API.