> 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>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.accurascan.com/language/docker/mrz.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
