# Frame identification

When using the "content" [crop](https://documentation.deep-image.ai/resize-and-padding#types-of-crop) fit type, the image content is analysed for better cropping result, f.e. to reduce the possibility of cutting objects on the photo.

<figure><img src="https://2652559519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3i5YcUkcXyIsWHIhRO2d%2Fuploads%2FLE1b7zfnAZxrP5vIpq4H%2Frunning-shoe-371624_1920-black.jpg?alt=media&#x26;token=0f3a2883-0c1e-4225-b8a4-2bccd01542ae" alt=""><figcaption></figcaption></figure>

Identified object will be put inside desired size that has vertical proportions (1000x1500). Remaining background will be filled with black color which has been automatically found.

```json
{
    "width": 1000,
    "height": 1500,
    "fit": {
        "crop": "content"
    }
}
```

<figure><img src="https://2652559519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3i5YcUkcXyIsWHIhRO2d%2Fuploads%2F8OcJZ84NzoBO1Ksh5WnV%2Frunning-shoe-371624_1920-black.jpg?alt=media&#x26;token=3f19d20a-9a87-4298-8dab-66a81644b728" alt=""><figcaption></figcaption></figure>
