# LP Recognizer

## What is LicensePlateRecognizer?

`LicensePlateRecognizer` processes images and video frames independently without temporal tracking. It detects license plates and recognizes text in single images, image batches, or video streams (frame-by-frame via `predict_batch()`).

## When to Use LicensePlateRecognizer

Choose `LicensePlateRecognizer` when you need to:

* Process collections of images or photos
* Analyze video files frame-by-frame without temporal tracking
* Run batch recognition on multiple images or video streams
* Work without real-time tracking requirements

**For video with persistent vehicle tracking and Bayesian multi-frame text fusion**, use [LicensePlateTracker](/vehicle-analytics/guides/overview-1.md) instead - it maintains vehicle identities across frames and supports real-time alerts.

## Core Concepts

### Configuration

All settings are controlled through `LicensePlateRecognizerConfig`:

```python
import degirum_vehicle

config = degirum_vehicle.LicensePlateRecognizerConfig(
    license_plate_detection_model_spec=detection_spec,  # Detection model
    license_plate_ocr_model_spec=ocr_spec,             # OCR model
)

lpr = degirum_vehicle.LicensePlateRecognizer(config)
```

See [Configuration Guide](/vehicle-analytics/guides/overview/configuration.md) for all options.

## Methods

`LicensePlateRecognizer` provides methods for single-frame and batch processing:

* [**predict()**](/vehicle-analytics/guides/overview/methods.md#predict) - Recognize license plates in a single image
* [**predict\_batch()**](/vehicle-analytics/guides/overview/methods.md#predict_batch) - Process multiple images or video frames

See [Methods Reference](/vehicle-analytics/guides/overview/methods.md) for complete API documentation with examples.


---

# 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.degirum.com/vehicle-analytics/guides/overview.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.
