> 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
