> For the complete documentation index, see [llms.txt](https://docs.recognito.vision/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.recognito.vision/id-document-liveness-detection-sdk/integration-guide/linux/installation.md).

# Installation

## Download SDK

Download [**id\_live\_engine.zip**](https://www.dropbox.com/scl/fi/l664t7z20abeba4e4g47b/id_live_engine.zip?rlkey=x3km2e8niswpc29e12fedv3qp\&st=1jnoozyr\&dl=0)

Unpack the `id_live_engine.zip` archive into the desired directory.

## Directory Structure

The SDK directory contains the following directories and files:

<table data-header-hidden><thead><tr><th width="152"></th><th width="227"></th><th></th></tr></thead><tbody><tr><td><strong>dependency\</strong></td><td>*.so</td><td>so files for Inference Engine</td></tr><tr><td><strong>engine\</strong></td><td><strong>model\</strong></td><td>Model weights</td></tr><tr><td></td><td><strong>lib\</strong>libidlivesdk.so</td><td>SDK so file</td></tr><tr><td></td><td>header.py</td><td>Header file</td></tr></tbody></table>

## Install dependencies

* Install packages and requirements:

{% code overflow="wrap" %}

```sh
sudo apt-get update -y && sudo apt-get install -y binutils python3 python3-pip python3-opencv

python3 -m pip install --upgrade pip && python3 -m pip install -r requirements.txt
```

{% endcode %}

* Copy dependency libraries:

{% code overflow="wrap" %}

```sh
sudo cp -rf ./dependency/* /usr/lib
```

{% endcode %}
