# Passive and Active Liveness

The objective of the Liveness check is to verify the authenticity and physical presence of an individual in front of the camera. In the **passive Liveness** check, it is sufficient to capture a user's face while they look into the camera. Conversely, the **active Liveness** check requires the user to perform an action such as smiling, blinking, or turning their head. While passive Liveness is more user-friendly, active Liveness may be necessary in some situations to confirm that the user is aware of undergoing the Liveness check.

In our Mobile or Web SDKs, you can define what action the user is required to do. You can also combine several actions into a sequence. Actions vary in the following dimensions:

* User experience,
* File size,
* Liveness check accuracy,
* Suitability for review by a human operator or in court.<br>

In most cases, the **Selfie** action is optimal, but you can choose other actions based on your specific needs. Here is a summary of available actions:<br>

### Passive Liveness

| <ul><li><strong>Selfie</strong></li></ul>   | <p><strong>A short video, around 0.7 sec. Users are not required to do anything.</strong><br><br>Recommended for most cases. It offers the best combination of user experience and liveness check accuracy.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <ul><li><strong>One shot</strong></li></ul> | <p><strong>Similar to “Simple selfie” but only one image is chosen instead of the whole video.</strong><br><br>Recommended when media size is the most important factor. Difficult for a human (e.g., an operator or a court) to evaluate as spoofing. We recommend avoiding the one shot gesture whenever possible, as it tends to produce less accurate results.<br><br><mark style="background-color:red;">On January 1, 2027, the <strong>One Shot</strong> gesture will become unavailable. Please plan your</mark> <a href="../../guides/developer-guide/migration-guides/migration-from-one-shot-gesture"><mark style="background-color:red;">migration</mark></a><mark style="background-color:red;">.</mark></p> |
| <ul><li><strong>Scan</strong></li></ul>     | <p><strong>A 5-second video where a user is asked to follow the text looking at it.</strong><br><br>Recommended when the longer video is required, e.g., for subsequent review by a human operator or in a court.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |

### Active Liveness

| <ul><li><strong>Smile</strong></li><li><strong>Blink</strong></li><li><strong>Tilt head up</strong></li><li><strong>Tilt head down</strong></li><li><strong>Turn head left</strong></li><li><strong>Turn head right</strong></li></ul> | <p><strong>A user is required to complete a particular gesture within 5 seconds.</strong></p><p>Use active liveness when you need a confirmation that the user is aware of undergoing a Liveness check.</p><p>Video length and file size may vary depending on how soon a user completes a gesture.</p> |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Our algorithms use tags to identify which gesture the user performed. For more information, please read the [Media Tags](https://doc.ozforensics.com/oz-knowledge/guides/developer-guide/api/oz-api/media-tags) article. The detailed information on how the actions, or, in other words, gestures are called in different Oz Liveness components is [here](https://doc.ozforensics.com/oz-knowledge/other/tips-and-tricks/oz-liveness-gestures-table-of-correspondence).
