# Interpretation of Result and Recommended Threshold

### OkayFace - 1:1 Face Verification&#x20;

| Face Verification Status | Description                                                                                                     |
| ------------------------ | --------------------------------------------------------------------------------------------------------------- |
| Pass                     | <p>Confidence Score >= Recommended Threshold<br><em><strong>Note: Recommended Threshold = 75</strong></em> </p> |
| Fail                     | <p>Confidence Score < Recommended Threshold<br><em><strong>Note: Recommended Threshold = 75</strong></em> </p>  |

{% hint style="warning" %}
The Confidence Score of OkayFace will start to decrease if the age gap between the ID card portrait and the selfie of OkayFace is more than 10 years.&#x20;
{% endhint %}

### OkayLive - Liveness detection

| Key         | Value                                                                                                                                      |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| probability | <p>Probability of liveness<br><em><strong>Note: Recommended Threshold = 0.5</strong></em></p>                                              |
| score       | <p>Linear liveness score: bigger value means more alive,</p><p><strong>(Not suggested as a threshold to detect the liveness.)</strong></p> |
| quality     | <p>Quality Value<br><em><strong>Note: Recommended Threshold = 0.5</strong></em></p>                                                        |
| error       | Error message from the server                                                                                                              |

{% hint style="danger" %}
The response of  "**score**" is NOT suggested to be used for the decision-making for detection results.
{% endhint %}

* The probability of liveness is the main response of the system.
* &#x20;The image is accepted as "live" when a ***probability*** is ***bigger*** than ***0.5***.
* &#x20;Linear liveness score can be used for BPCER / APCER tuning. The range of **score** is (ln 1e-7, -ln 1e-7).
* The quality value is the probability of a "clear image" to indicate the quality of the selfie image.
* A good quality selfie image, the ***quality*** will be ***bigger*** than ***0.5***&#x20;
* The probability can be ***lower*** than ***0.5*** for the reasons below.
  * Face minimal side is less than 180 pix or distance between eyes is less than 90 pix.
  * Face out-of-plane rotation is bigger than 20 degrees.
  * The distance between the face and the camera is very small, so the face can be significantly distorted.
  * The luminous power is insufficient.
  * High motion or gaussian blur rate or light shot.

{% hint style="info" %}
We highly advise analyzing quality value and rejecting inappropriate images.
{% endhint %}
