> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/backend-sdk/selphid/release_notes/6.19.0_releasenotes.md).

# 6.19.0

This version includes updates to the facial extraction and liveness check engines. Starting with this version, Intel FMA3/AVX instructions are no longer needed, so the versions have been discontinued `windows_fma3` and `linux_fma3`. For security reasons, Ubuntu24 has been set as the minimum Linux version to run the SDK on-premise. Support for image formats has also been added `JPEG2000`, both in the extraction engine and in the liveness check engine.

A **coercion detector** to the liveness check engine as **experimental functionality**. It is designed to detect cases where weapons appear in the image or where the subject's eyes are being forced open. This can be obtained through the method `SelphIDNoLiveDetails::GetCoercionScore()`, which will return a value between 0 (no coercion) and 1 (coercion present with 100% certainty). This functionality will not affect liveness check diagnostics in any way (`Live`, `NoLive`). For now, we offer it for informational purposes only.

Finally, new environment variables have been added to the rest service, which map the existing variables in `config.json`.

### Added

* Coercion detection in the liveness check engine.
* `SelphIDNoLiveDetails::GetCoercionScore()`.
* Support for JPEG 2000 images in the extraction and liveness check engines.
* New environment variables for the C++ Rest Api service:
  * `FACEPHI_SELPHID_REST_PORT`
  * `FACEPHI_SELPHID_REST_NUMBER_OF_THREADS`
  * `FACEPHI_SELPHID_REST_CONNECTION_TIMEOUT`
  * `FACEPHI_SELPHID_REST_KEEP_ALIVE_REQUEST_NUMBER`
  * `FACEPHI_SELPHID_REST_CLIENT_MAX_BODY_SIZE`
  * `FACEPHI_SELPHID_REST_LOGGER_PATH`
  * `FACEPHI_SELPHID_REST_LOGGER_FILE_PREFIX`
  * `FACEPHI_SELPHID_REST_LOGGER_LEVEL`
  * `FACEPHI_SELPHID_REST_LOGGER_ROTATION`
  * `FACEPHI_SELPHID_REST_LOGGER_MAX_FILES`

### Improved

* New facial extraction engine, without the instruction set `fma3`.
* New liveness check engine, without the instruction set `fma3`.
* Improved support for detecting `closed-eyes` and `occlusions` in the liveness check engine.

### Removed

* Versions `fphi-selphid-sdk-linux64_fma3` and `fphi-selphid-sdk-win64_fma3`, since the new biometric engines do not use the extended instruction set.
* Java and .NET programming examples.

### API contract updates

After the updates introduced in this version, the API contract has been revised accordingly. A new field has been added `coercionScore` to `PassiveLivenessResult::noLiveDetails` in:

* `/api/v1/selphid/passive-liveness/evaluate`
* `/api/v1/selphid/passive-liveness/evaluate/token`

```json
{
  "diagnostic": "Live",
  "noLiveDetails": {
    "mainCause": "Unknown",
    "fPadStatus": "Passed",
    "fPadScore": 0.9,
    "fMadStatus": "Passed",
    "fMadScore": 0.8,
    "coercionScore": 0.8,
    "reasonMessage": ""
  },
  ...
}
```
