|
| 1 | +--- |
| 2 | +title: "Face liveness detection - Face" |
| 3 | +titleSuffix: Azure AI services |
| 4 | +description: This article explains the concept of Face liveness detection, its input and output schema, and related concepts. |
| 5 | +author: PatrickFarley |
| 6 | +manager: nitinme |
| 7 | + |
| 8 | +ms.service: azure-ai-vision |
| 9 | +ms.subservice: azure-ai-face |
| 10 | +ms.custom: |
| 11 | +ms.topic: conceptual |
| 12 | +ms.date: 02/19/2025 |
| 13 | +ms.author: pafarley |
| 14 | +feedback_help_link_url: https://learn.microsoft.com/answers/tags/156/azure-face |
| 15 | +--- |
| 16 | + |
| 17 | +# Face liveness detection |
| 18 | + |
| 19 | +This article explains the concept of Face liveness detection, its input and output schema, and related concepts. |
| 20 | + |
| 21 | +## How it works |
| 22 | + |
| 23 | +TBD |
| 24 | + |
| 25 | +The Face Liveness Check is conformant to ISO/IEC 30107-3 PAD (Presentation Attack Detection) standards as validated by iBeta level 1 and level 2 conformance testing; the report is [here](https://www.ibeta.com/wp-content/uploads/2023/11/230622-Microsoft-PAD-Level-2-Confirmation-Letter.pdf). |
| 26 | + |
| 27 | + |
| 28 | +## Liveness detection modes |
| 29 | + |
| 30 | +Azure Face liveness detection API includes the options for both passive and passive-active detection modes. |
| 31 | + |
| 32 | +The **Passive mode** requires a non-bright lighting environment to succeed and will fail in bright lighting environments with an "Environment not supported" error. This mode can be chosen if you prefer minimal end-user interaction and expect end-users to primarily be in non-bright environments. This mode utilizes a passive liveness technique that requires no additional actions from the user. It also requires high screen brightness for optimal performance which is configured automatically in the Mobile (iOS and Android) solutions. |
| 33 | + |
| 34 | +The **Passive-Active mode** will still behave the same as the Passive mode in non-bright lighting environments and only trigger the Active mode in bright lighting environments. This mode can be chosen if you want the liveness-check to work in any lighting environment. This mode is preferable on Web browser solutions due to the lack of automatic screen brightness control available on browsers which hinders the Passive mode's operational envelope. |
| 35 | + |
| 36 | +This setting can be set during the Session-Creation step (see step 2 of [Perform liveness detection](#perform-liveness-detection)). |
| 37 | + |
| 38 | + |
| 39 | +## Input requirements |
| 40 | + |
| 41 | +Use the following tips to ensure that your input images give the most accurate recognition results: |
| 42 | + |
| 43 | +[!INCLUDE [identity-input-id-verification-composition](includes/identity-input-id-verification-composition.md)] |
| 44 | + |
| 45 | +### Data privacy |
| 46 | + |
| 47 | +We do not store any images or videos from the Face Liveness Check. No image/video data is stored in the liveness service after the liveness session has been concluded. Moreover, the image/video uploaded during the liveness check is only used to perform the liveness classification to determine if the user is real or a spoof (and optionally to perform a match against a reference image in the liveness-with-verify-scenario), and it cannot be viewed by any human and will not be used for any AI model improvements. |
| 48 | + |
| 49 | +## Output format |
| 50 | + |
| 51 | +The liveness detection API returns a JSON object with the following information: |
| 52 | +- A Real or a Spoof Face Liveness Decision. We handle the underlying accuracy and thresholding, so you don’t have to worry about interpreting “confidence scores” or making inferences yourself. This makes integration easier and more seamless for developers. |
| 53 | +- Optionally a Face Verification result can be obtained if the liveness check is performed with verification (see [Perform liveness detection with face verification](#perform-liveness-detection-with-face-verification)). |
| 54 | +- A quality filtered "session-image" that can be used to store for auditing purposes or for human review or to perform further analysis using the Face service APIs. |
| 55 | + |
| 56 | + |
| 57 | +## Next steps |
| 58 | + |
| 59 | +Now that you're familiar with liveness detection concepts, implement liveness detection in your app. |
| 60 | + |
| 61 | +* [Face liveness detection](./tutorials/liveness.md) |
0 commit comments