> For the complete documentation index, see [llms.txt](https://documentation.deep-image.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.deep-image.ai/image-processing/frame-identification.md).

# Frame identification

When using the "content" [crop](/image-processing/resize-and-padding.md#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="/files/OTuQXrsS1XLJ4014gAvd" 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="/files/yx9jK5CSoMouQKmLrOX2" alt=""><figcaption></figcaption></figure>
