# Recommendations & File Formats

### Introduction

In this segment, we provide comprehensive guidelines and recommendations to ensure the seamless capture or upload of ID documents and selfies. These practices are crucial for maintaining high standards of user verification and authentication, which are integral to the security and reliability of digital onboarding processes.

Our API is designed to facilitate a user-friendly onboarding experience while adhering to rigorous verification standards. Proper image capture is essential to this process, as it significantly enhances the accuracy of identity verification and minimizes the potential for errors.

We'll cover the key elements of effective image capture, including lighting, positioning, and background considerations. Additionally, we will delve into the technical specifications required for image uploads, such as resolution, format, and size, to ensure compatibility with our API.

By following these best practices, you can expect a streamlined verification process, leading to an improved success rate in user onboarding and a better overall user experience. Let’s get started on setting the stage for optimal image submission.

### Selfie Capture

Kairos recommends taking a selfie directly from a mobile phone to ensure the most effective liveness checks.

<figure><img src="/files/tscaItjeK80wzAjYj3c1" alt=""><figcaption><p>Position yourself head on with your face completely within the oval. Make sure the face takes up 60-70% of the frame</p></figcaption></figure>

**Positioning**

Face the camera directly and position yourself so that your face fills 60% - 70% of the frame. Try to avoid extreme angles and poses.

**Expressions**

Maintain a neutral expression, remove any dark glasses or tinted lenses, and keep both eyes open.

**Lighting**

For increased visibility, avoid bright backlighting and glare by taking your photographs under even light.

**Focus & Movement**

Image focus and blur can have similar effects on performance as low resolution - make sure your captured image is not blurry.

If the camera is having difficulty focusing, you might be too close or too far from the device.

#### Orientation

Do not rotate the camera or tablet when taking the photo. Take the photo as a portrait, not a landscape.

&#x20;

<div align="center" data-full-width="false"><figure><img src="/files/JTlqCrlRaVt75yuOO9Kv" alt=""><figcaption></figcaption></figure></div>

### Document Capture

**Positioning**

Position the ID document so that it fills 60% - 70% of the frame. Try to avoid extreme angles and poses.

**Lighting**

For increased visibility, avoid bright backlighting and glare by taking your photographs under even light.

**Focus & Movement**

Image focus and blur can have similar effects on performance as low resolution - make sure your captured image is not blurry.

If the camera is having difficulty focusing, you might be too close or too far from the device.

#### Orientation

Do not rotate the camera or tablet when taking the photo. Take the photo with as a portrait not a landscape.

<figure><img src="/files/LRKpJfUTxRYG6NEMmhaq" alt=""><figcaption></figcaption></figure>

### General

When uploading photos, the following file formats can be uploaded:

* **JPG (JPEG Image File):** Commonly used for photographs and ID card images, balancing quality and file size.
* **PNG (Portable Network Graphics):** Ideal for images with transparency or requiring high quality, such as detailed ID documents.

We do not recommend uploading photo files because it makes liveness detection less accurate. If uploading a selfie, make sure to meet these minimums for the file.


---

# 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://docs.kairos.com/documentation/overview/recommendations-and-file-formats.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.
