> 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

Accura Scan Voice Biometrics solution matches the source voice .wav file with the target voice .wav file.

### 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="https://2173810795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9ct3oWZAE255BxwYNdp5%2Fuploads%2F1iMTaFngSKhLI71EHsim%2FScreenshot%202025-05-30%20at%205.15.39%E2%80%AFPM.png?alt=media&amp;token=3b0a541f-1a7f-4d2d-8a15-3e46f7b8968e" 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="https://2173810795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9ct3oWZAE255BxwYNdp5%2Fuploads%2FHjzjxOR2qQyMTqn6L36i%2Fvoice_api.webp?alt=media&amp;token=c4fefd6b-11ac-4905-80ec-f5cf480799d6" alt=""><figcaption></figcaption></figure>

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