Skip to content

Point-of-Interest Crop

By , Customer Success DirectorUpdated

Open this page in a new chat

Short answer

Add crop.type=poi to the image URL, and Sirv finds the most interesting part of the image and crops into it. Set the crop size with ch for height and cw for width. To see where Sirv found the point of interest, add crop.dev=1 to the URL.

After reading this you will know

  • How to crop an image to its most interesting part
  • How to set the crop size
  • How to see where the point of interest is

Automatically identify the most interesting part of the image and crop into it. This machine learning crop algorithm gives you instant creative direction.

Try it
Original image
Original
Image with the options applied
With options
Padding and scale options4
https://demo.sirv.com/birdbath.jpg?crop.type=poi&crop.aspectratio=1:1

Set crop.type to poi. Example:

https://demo.sirv.com/deer.jpg?crop.type=poi

Original image, not cropped

![Autocropped image based on point of interest](https://demo.sirv.com/deer.jpg?ch=240&crop.type=poi&text.text=POI crop&text.color=black&text.position=northeast)

Control the crop using ch and cw.

https://demo.sirv.com/deer.jpg?crop.type=poi&ch=240&cw=800

Autocropped image based on point of interest

Find out where the POI is by adding &crop.dev=1 to the URL, for example:

https://demo.sirv.com/deer.jpg?crop.type=poi&crop.dev=1

Location of point of interest within image

If the crop misses the most important part of the image, move the point of interest and Sirv crops around it.

Back to top