> For the complete documentation index, see [llms.txt](https://doc.ozforensics.com/oz-knowledge/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.ozforensics.com/oz-knowledge/other/media-quality-requirements.md).

# Media Quality Requirements

{% hint style="info" %}
If your media meets the listed requirements, this ensures the highest analysis accuracy. If media does not meet the minimal requirements, accuracy is not guaranteed.&#x20;
{% endhint %}

We highly recommend using our SDK to capture media. This ensures your media meets all requirements, and you receive the most reliable analysis results.

## Common Media Requirements <a href="#h.y1nmy3kgxvj" id="h.y1nmy3kgxvj"></a>

* There shouldn't be more than one face in the frame (except photos of documents).
* The face should be in the center of the frame (except photos of documents).
* Orientation: portrait or landscape.
* Liveness images should have 3 channels.

## Video Quality Requirements <a href="#h.j2c6cxdjrkzr" id="h.j2c6cxdjrkzr"></a>

| **Parameter** | **Requirements**                                                                                                                                                                                                                                                                                                         |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Video length  | <ul><li>up to 5 seconds</li></ul>                                                                                                                                                                                                                                                                                        |
| Bitrate       | <ul><li>recommended – 10000 Kbit/sec</li></ul>                                                                                                                                                                                                                                                                           |
| Resolution    | <ul><li>minimum – 480p</li><li>recommended – 720p</li></ul>                                                                                                                                                                                                                                                              |
| Angle         | <ul><li>full-face</li><li>the eye line is horizontal</li></ul><p>Deviation of the face from the vertical direction:</p><ul><li>minimum – 30 degrees or less</li><li>recommended – 15 degrees or less</li></ul>                                                                                                           |
| Brightness    | <p>Minimum:</p><ul><li>the eye area is not too dark</li><li>the background is not too bright</li></ul><p>Recommended:</p><ul><li>the face shape is clear</li><li>the eye area is not too dark</li><li>the background is not too bright</li><li>the face should be evenly illuminated without glares or shadows</li></ul> |
| Face size     | <p>Portrait:</p><ul><li>50-80% of the frame height</li><li>40-60% of the frame width</li></ul><p>Lanscape:</p><ul><li>50-80% of the frame height</li><li>15-25% of the frame width</li></ul>                                                                                                                             |
| Video format  | <p>Recommended:</p><ul><li>MPEG/MPG</li><li>QuickTime/MOV</li><li>MP4</li></ul><p>Also possible:</p><ul><li>OGG</li><li>WebM</li><li>WMV</li><li>AVI</li></ul>                                                                                                                                                           |

## Image Quality Requirements <a href="#h.picbxtifpkq0" id="h.picbxtifpkq0"></a>

The requirements below refer to photos taken at the time the check is being performed.

| **Parameter** | **Requirements**                                                                                                                                                                                                                                                                                                         |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Resolution    | <ul><li>minimum – 480×640 (252×300 for Oz Biometry)</li><li>recommended – 720×1280</li></ul>                                                                                                                                                                                                                             |
| Angle         | <ul><li>full-face</li><li>the eye line is horizontal</li></ul><p>Deviation of the face from the vertical direction:</p><ul><li>minimum – 30 degrees or less</li><li>recommended – 15 degrees or less</li></ul>                                                                                                           |
| Brightness    | <p>Minimum:</p><ul><li>the eye area is not too dark</li><li>the background is not too bright</li></ul><p>Recommended:</p><ul><li>the face shape is clear</li><li>the eye area is not too dark</li><li>the background is not too bright</li><li>the face should be evenly illuminated without glares or shadows</li></ul> |
| Face size     | <p>Portrait:</p><ul><li>50-80% of the frame height (for Oz Biometry, from 15%, but not less than 112)</li><li>40-60% of the frame width</li></ul><p>Landscape:</p><ul><li>50-80% of the frame height (for Oz Biometry, from 15%, but not less than 112)</li><li>15-25% of the frame width</li></ul>                      |
| Image format  | <ul><li>JPG</li><li>JPEG</li></ul>                                                                                                                                                                                                                                                                                       |

## Documents Requirements <a href="#h.33gxlfc0963b" id="h.33gxlfc0963b"></a>

* No glares or shadows.
* The background is not too bright.
* The face on a photo is in focus and has no objects on it.
* Minimum size of face on photo – 10% of the frame height, but not less than 112×112.
* Photos of documents should not be compressed.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.ozforensics.com/oz-knowledge/other/media-quality-requirements.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
