> For the complete documentation index, see [llms.txt](https://doc.ozforensics.com/oz-knowledge-ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.ozforensics.com/oz-knowledge-ru/other/old-docs/ustanovka-modulei-oz/installation-lite.md).

# Oz System Lite

Описание порядка установки биометрического процессора Lite.

## **Порядок установки**

* [Связаться с нами](https://ozforensics.com/#product_demo) и скачать архив Docker-образа по ссылке, которую мы вам пришлем
* Загрузить образ в Docker`docker load -i <path to image tar file>`
* Запустить `docker run -p {port}:80 ozforensics/oz-api-lite:{tag}`

{% hint style="info" %}
`Старт контейнера может занять несколько минут.`
{% endhint %}

## Описание основных параметров

Параметры задаются переменными окружения при старте Docker-контейнера.

Допустимы следующие параметры:

* NUM\_WORKERS — максимальное количество одновременно выполняемых анализов, определяется индивидуально. *По умолчанию: 16.*
* TF\_ENABLE\_ONEDNN\_OPTS — ускорение. *По умолчанию: 1, для процессоров AMD необходимо выставить 0.*

## Применение

Взаимодействие с биометрическим процессором реализовано на основе REST API по протоколу HTTPS.

### Точка доступа к API

Базовый URL доступа к API: **https\://{hostname}/v1/face/pattern** или **https\://{hostname}/v1/face/liveness** в зависимости от используемого метода (см. [примеры](/oz-knowledge-ru/rukovodstva/rukovodstvo-razrabotchika/api/oz-api-lite.md#primery-metodov)).

Где:

* **{hostname}** — имя хоста и порт сервера развернутого биометрического процессора.

**Пример:** `localhost/v1/face/pattern`

API поддерживает следующие типы контента запроса (HTTP-заголовок «Content-Type»):

* «multipart/form-data»;
* «application/octet-stream»;
* «image/jpeg» или «image/png»;

### **Используемые коды ответов HTTP**

| **Коды ответов**          | **Описание**                                                                                             |
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
| 200 OK                    | Вызов метода завершился успешно. Ответ биометрического процессора включен в HTTP BODY.                   |
| 400 Bad Request           | Вызов метода завершился с ошибкой на стороне Клиента. Код ошибки включен в HTTP BODY.                    |
| 500 Internal Server Error | Вызов метода завершился с ошибкой на стороне биометрического процессора. Код ошибки включен в HTTP BODY. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.ozforensics.com/oz-knowledge-ru/other/old-docs/ustanovka-modulei-oz/installation-lite.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
