> For the complete documentation index, see [llms.txt](https://docs.scaleflex.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scaleflex.com/visual-ai/visual-ai/images/classification-models/number-plate-recognition.md).

# Number Plate recognition

## Overview

The Number plate recognizer is a machine-learning model that detects and recognizes vehicle registration plate numbers in images.&#x20;

It is developed and trained to detect vehicle license plates, recognize the characters on the plate, and return them as text strings. The model takes in an input image containing a vehicle and outputs the alphanumeric number present on the vehicle's registration plate in text form.

The process of license plate recognition consists of the following steps:

1. License plate detection;
2. Pre-processing the resulting image from Step 1 (warping, deskewing) to prepare it for optical character recognition (OCR);
3. Passing the image from Step 2 through an OCR engine and receiving the recognized characters.

<figure><img src="/files/DPToMQmpIlJ87dMwutHK" alt="" width="375"><figcaption><p>Overview of the license plate recognition process</p></figcaption></figure>

## Use cases

Some typical use cases for this model include:

* **Efficient vehicle cataloging** - Vehicles can automatically be cataloged in a database. When new vehicle images are uploaded, the model can extract the registration plate numbers and associate them with the corresponding vehicle records, allowing for quick and accurate identification and retrieval of vehicle assets.
* **Smart searching** - Users can leverage plate number recognition to perform targeted searches and easily locate specific vehicles, thus saving time and effort.
* **Automated metadata** - Vehicle assets can be tagged with relevant metadata based on their registration plate numbers. This metadata may include vehicle make, model, year, and other information associated with the recognized plate.
* **Regulatory compliance** - The model can aid in ensuring compliance with legal requirements related to vehicle registration and documentation.

## API endpoints

An up-to-date reference with all API endpoints is available here:

{% embed url="<https://developers.scaleflex.com/#7001bb6f-bce7-42bf-9741-61e02e4fbc4e>" %}

## Example API responses

<table data-full-width="true"><thead><tr><th>Product image</th><th>API response</th><th data-hidden></th><th data-hidden></th><th data-hidden data-type="files"></th><th data-hidden data-type="rating" data-max="5"></th></tr></thead><tbody><tr><td><img src="/files/c6gojE632P9MiewQsZk1" alt=""></td><td><pre class="language-json"><code class="lang-json"><strong>{
</strong>    "status": "success",
<strong>    "version": "2.9.3",
</strong>    "result": {
        "request_uuid": "3404ab7f-b62c-4c1a-b9ad-942c109e5522",
        "created_on": "2023-06-27 14:41:59.837681",
        "sha1": "ec0d6903226504ff24aac35f8d303a06dabbfc6e",
        "file_path": "/app/app/files/2a1da70c8e74f4155bf5ff93/sample1.jpg",
        "plate_number": [
            "B 44 VNN"
        ]
    }
}
</code></pre></td><td></td><td><img src="/files/ho7Amt04hvMa9bAxOWo9" alt=""></td><td></td><td>null</td></tr><tr><td><img src="/files/wwfHc9zoEs7tD5Orj7qS" alt="" data-size="original"></td><td><pre class="language-json"><code class="lang-json">{
    "status": "success",
    "version": "2.9.3",
    "result": {
        "request_uuid": "87594660-f3cf-4ff1-b266-198059100f4d",
        "created_on": "2023-06-27 14:43:17.740529",
        "sha1": "bd593aa23a75df1f4d4fcd63f17d38fb2c71ef17",
        "file_path": "/app/app/files/23baa18c814b0ba18c02da80/test.jpg",
        "plate_number": [
            "IN Q8038",
            "IN R8103"
        ]
    }
}
</code></pre></td><td></td><td></td><td></td><td>null</td></tr></tbody></table>


---

# 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.scaleflex.com/visual-ai/visual-ai/images/classification-models/number-plate-recognition.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.
