# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.recognito.vision/id-document-liveness-detection-sdk/integration-guide/linux/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
