> ## Documentation Index
> Fetch the complete documentation index at: https://developers.argosidentity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Face ID Best Practices

> Best practices for implementing Face ID in your application

This guide provides a clear and detailed roadmap for integrating a face identity verification system into your client application. Using intuitive icons, we'll walk you through each step to ensure your implementation is effective and user-friendly.

<Divider />

## System Overview

<Frame>
  <img src="https://theneo-prod-public.s3.us-east-1.amazonaws.com/36ae49b2-9240-417a-bab9-994e7c93cf50.png" alt="Face ID system overview diagram" />
</Frame>

<Divider />

<Steps>
  <Step title="Capture user's face">
    **User Action:** The process begins when the user captures their face using the client application.

    Ensure your application provides clear instructions for capturing a high-quality image, considering factors like lighting and background.

    **Common Image Quality Issues**

    | Message            | Description                                     |
    | ------------------ | ----------------------------------------------- |
    | Poor lighting      | Ensure adequate lighting for clear face capture |
    | Blurry image       | Hold device steady and focus properly           |
    | Face too close/far | Maintain appropriate distance (arm's length)    |
    | Multiple faces     | Ensure only one face is visible in frame        |

    Below are examples of possible headshots from the table above.
  </Step>

  <Step title="Send the Captured Face to the Server">
    Once the face is captured, the client sends the image to the ARGOS server for processing.
  </Step>

  <Step title="Perform Face ID Search">
    This is a critical part of the process where the face ID service attempts to match the face with an existing face in the database.

    **Database Scan**

    * The service indexes the face and scans the database for a match.

    **Case 1: No Matched Face**

    * If no match is found, the system will create a new face ID entry.

    **Case 2: Matched Face**

    * If a match is found, the system will return the existing face ID.

    | Scenario       | Action                   |
    | -------------- | ------------------------ |
    | No match found | Create new face ID entry |
    | Match found    | Return existing face ID  |
  </Step>

  <Step title="Ensure Smooth Transition">
    Whether a new user is added or an existing user is recognized, ensure the transition to the next steps in your application is smooth and intuitive.
  </Step>
</Steps>
