# 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="https://2173810795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9ct3oWZAE255BxwYNdp5%2Fuploads%2F7cfZ3JaVU8P5eba2vj18%2Fhttps___content.gitbook.com_content_y1xIBw9qTfAIBoW6c2AZ_blobs_lNCZbBPksi3AI8XFkk0g_MRZLicense%20copy.png?alt=media&#x26;token=b96be4b7-9084-4d4f-a4fb-8baa689bb360" 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="https://2173810795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9ct3oWZAE255BxwYNdp5%2Fuploads%2F89DIyC1vuT0bESzjudy2%2FMRZResp.png?alt=media&#x26;token=f69c487c-3fc5-4a45-beb6-789013f97149" alt=""><figcaption></figcaption></figure>


---

# 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/mrz.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.
