> For the complete documentation index, see [llms.txt](https://docs.accurascan.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.accurascan.com/language/docker/accura-scan-voice-biometrics.md).

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