> For the complete documentation index, see [llms.txt](https://docs.vida.id/identity-stack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vida.id/identity-stack/verify/liveness/overview/gesture-liveness.md).

# Gesture Liveness

VIDA Active Liveness Detection with multi-frame capture adds an extra layer of verification, ensuring that the user is genuinely present and not attempting to spoof the system.&#x20;

* **User Interaction**: VIDA active liveness detection verifies that the user's responses to prompts (e.g., zoom\_face, blink, smile,  shake\_head) are timely and match expected patterns, further confirming liveness.
* **Configurable Basic Gesture**: The combinations can be enabled based on client's risk appetite.
* **Multi-Frame Capture**: The camera captures a sequence of frames (images) during the user's interaction.The system analyzes the captured frames to ensure the user's face remains consistent throughout the interaction.
* **Image Manipulation Detection**: The system performs advanced analysis on the captured images in the backend to detect any signs of image manipulation or tampering. This ensures the selfie is genuine and unaltered.

### Supported Gestures

VIDA active liveness detection incorporates basic gestures to ensure user authenticity. \
\
These gestures are categorised into two distinct sets. Actions from one set cannot be combined with actions from the other set. If no gesture is specified when active liveness is enabled, the ZOOM\_FACE gesture set will be used by default.

* `ZOOM_FACE` : When the gesture is set to ZOOM\_FACE, the user is prompted to adjust their face within three consecutive, randomly-sized concentric frames.
* `SMILE/ BLINK/ SHAKE_HEAD` : Users respond to prompts for smiling, blinking, and head shaking, with VIDA analysing these actions to confirm they are genuine and appropriate.

| Gesture              | Description                                                                                            | Representation                                                                                                  |
| -------------------- | ------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------- |
| Head Shake Movements | Users are prompted to shake their heads. VIDA detects if the head shake is matching expected patterns. | <div><figure><img src="/files/aMabtNiYyPfn6EVegEhY" alt="" width="141"><figcaption></figcaption></figure></div> |
| Blink                | Users are prompted to blink. VIDA detects if the head shake is matching expected patterns.             | <div><figure><img src="/files/xAlpsh2Usp68P3N0Y5h1" alt="" width="141"><figcaption></figcaption></figure></div> |
| Smile                | Users are prompted to smile. VIDA detects if the head shake is matching expected patterns.             | <div><figure><img src="/files/3sEJ24vwdmyQPndkmADE" alt="" width="142"><figcaption></figcaption></figure></div> |

### Product Configuration Recommendation

| Gesture Combination         | Case                                                                                                                                                                                                                                                                | Example                                  |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| **One Gesture Combination** | For scenarios where quick verification is essential, and the convenience is prioritized. The gesture is easy for the users to perform but offers a low level of security, making it less effective against sophisticated fraud attempts.                            | The user is prompted to blink or smile.  |
| **Two Gesture Combination** | This combination provides a moderate level of security by requiring  two distinct action from the user. It adds extra layer of protection compared to a single gesture, making it more secure for applications that needs balance between security and ease of use. | The user is prompted to blink and smile. |
