> 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/mrz.md).

# MRZ

{% embed url="<https://drive.google.com/file/d/1WLu3nQFrChCH44w5Pjl6Xjmo9-EdkXRA/view?usp=sharing>" %}

### Steps to Install and Run the MRZ Docker

#### Step 1:

Pull AccuraMRZ Docker image (latest tag) using the command `docker pull accurascan/mrz:<latest tag>`

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

<pre data-title="Example:" data-full-width="false"><code><strong>docker pull accurascan/mrz:36.0.0
</strong></code></pre>

#### Step 2:

Run the docker by using the command: `sudo docker run -d -it -p port-you-want-accuramrz-to-run-on:80 --restart=always accurascan/mrz:<latest tag>`

{% code title="Example" overflow="wrap" %}

```
sudo docker run -d -it -p 3001:80 --restart=always accurascan/mrz:36.0.0
```

{% endcode %}

#### 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/HBfccDzDHAGge7NwgU2F" alt=""><figcaption></figcaption></figure>

#### Step 4:

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

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

#### Request Body

> You can either pass image file or an image base64.

| Name                                   | Type           | Description                  |
| -------------------------------------- | -------------- | ---------------------------- |
| file<mark style="color:red;">\*</mark> | file           | Upload your image file       |
| filebase64                             | text or string | paste your image base64 here |

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

{% endtab %}
{% endtabs %}

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