# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.deep-image.ai/image-processing/frame-identification.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
