# Accura Scan Voice Biometrics

### Steps to Install and Run the Voice Docker

#### Step 1:

Pull AccuraVoice Docker image using the command `docker pull accurascan/voice:<latest tag>`

{% hint style="info" %}
Visit <https://hub.docker.com/r/accurascan/voice> to check the latest available version of AccuraVoice
{% endhint %}

```
Example:
docker pull accurascan/voice:1.0.0
```

#### Step 2:

Run the docker by using the command: `sudo docker run -dp port-you-want-accuravoice-to-run-on:80 --restart=always accurascan/voice:<latest tag>`

```
Example
sudo docker run -dp 8010:80 --restart=always accurascan/voice:1.0.0
```

#### Step 3:

{% hint style="info" %}
To generate your Accura Scan license contact <sales@accurascan.com>
{% endhint %}

Upload your license accessing "<mark style="color:blue;">https\://\<yourdomain:port></mark>" using a browser, Example is shown in the image below.

<figure><img src="/files/fYMNSLZSe5ASsnvgmG5P" alt=""><figcaption></figcaption></figure>

#### Step 4:

Use “<mark style="color:blue;">[https://yourdomain:port/voice\\\_liveness.php](https://docs.accurascan.com/language/docker/https:/yourdomain:port/voice\\_liveness.php)</mark>” (POST request) to access the API, an example post request is shown below.

<mark style="color:green;">`POST`</mark> `https://yourdomain:port/voice_liveness.php`

**Request Body**

| Name     | Type | Description                       |
| -------- | ---- | --------------------------------- |
| source\* | file | Upload your .wav voice image file |
| target\* | file | Upload your .wav voice image file |

{% tabs %}
{% tab title="200: OK An example response is shown in the image below ​" %}

{% endtab %}
{% endtabs %}

<figure><img src="/files/nBr6UPqkvioIUiX9lyoz" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The Preferred Score describes the matching percentage between the source and target voice files.
{% endhint %}


---

# 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.accurascan.com/language/docker/accura-scan-voice-biometrics.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.
