CapCognition.Maui.LPR
2.2.2
dotnet add package CapCognition.Maui.LPR --version 2.2.2
NuGet\Install-Package CapCognition.Maui.LPR -Version 2.2.2
<PackageReference Include="CapCognition.Maui.LPR" Version="2.2.2" />
<PackageVersion Include="CapCognition.Maui.LPR" Version="2.2.2" />
<PackageReference Include="CapCognition.Maui.LPR" />
paket add CapCognition.Maui.LPR --version 2.2.2
#r "nuget: CapCognition.Maui.LPR, 2.2.2"
#:package CapCognition.Maui.LPR@2.2.2
#addin nuget:?package=CapCognition.Maui.LPR&version=2.2.2
#tool nuget:?package=CapCognition.Maui.LPR&version=2.2.2
License Plate Detection (LPR) for .NET MAUI recognition processor
Recognizes license plates of many European countries together with vehicle types.
Supported vehicle types:
- Car
- Motorbike
- Tractor
- Truck
Supported countries:
A, B, BG, CH, CZ, D, DK, E, EST, F, FIN, FL, GB, GR, H, HR, I, IRL, L, LT, LV, NL, P, PL, RO, S, SK, SLO
Features
- New multi-model algorithm for improved recognition accuracy (>98%)
- Different model qualities selectable for performance optimization and better adaptation to the used hardware platform
- Vehicle detection can be switched off for higher performance
- Models can be integrated directly into your deployment or automatically downloaded with SHA-256 integrity validation at runtime
- Local built-in model streams are validated with SHA-256 checksums, including plate, text, wide-text, and vehicle models
- Background download of models before recognition is supported (recognition fails if models are missing)
- Multi target nuget for .NET MAUI 10 and .NET MAUI 9
Temporal License Plate Tracker (new in 2.2.1)
LicensePlateTemporalTrackerstabilizes recognition callbacks in ParkingOfficer, Barrier and CarDetection mode.PreferValidateduses country-validated text when available;RawOnlykeeps raw OCR text.- Country-specific formats retain their separator structure during temporal voting:
B-W20andBW-20stay distinct. No-Country results retain the previous separator-free behavior. - Optional retained source/plate snapshots use independent size limits and a byte budget. Subscribers own and dispose emitted
StableLicensePlateResultinstances.
Recognition Modes (new in 2.1.0)
The detection can be configured in different modes depending on application requirements:
- Country-based plate → then vehicle type (vehicle type is detected only if a plate was recognized).
- Country-based plate only (no vehicle type detection).
- Vehicle type only.
- Vehicle type first → then country-based plate (plate search only inside detected vehicles).
- "No country" plate → then vehicle type (plate detection without country validation).
- "No country" plate only (no vehicle type detection).
- Vehicle type first → then "no country" plate (plate search only inside detected vehicles).
The new "No Country" plate detection allows reliable recognition of most license plates, even if the country is not explicitly trained.
Limitation: No country validation of recognized plates.
Model Download
The following models can only be used together with the CapCognition license plate detection library.
They are not permitted for use in other libraries.
- All models can be downloaded from: Download
- Downloaded built-in models are verified against their published SHA-256 checksums before decryption and loading.
- Local models selected through the built-in model-type helpers are validated automatically. Custom streams can supply an expected SHA-256 value through
StreamInfo.
Platform Support
- iOS (minimum target framework: iOS 13)
- Android (minimum target framework: Android 9)
Trial Version
This library can be used as a trial version.
- The trial version is limited to a certain number of recognitions per application start.
- After the limit is reached, the application must be restarted.
- The trial version is intended for development and testing only, not for production use.
- For production use, a license must be purchased.
Examples
See .NET MAUI examples at CapCognition
Documentation
See Documentation for more details.
Release Notes
Version 2.2.2
- Third-party telemetry is now completely disabled
- Fixed an issue on iOS where the app could be terminated when it was sent to the background during recognition
- Based on new core library version 2.2.2
Version 2.2.1
- Added the temporal license plate tracker with three operating modes, bounded image retention and country-specific separator-aware stabilization.
- Based on new core library version 2.2.1 with improved performance and bugfixes
- Improved compatibility with the updated asynchronous processing lifecycle in CapCognition.Maui.Core
- Improved stability during parallel and continuous recognition
- Added automatic SHA-256 integrity validation for downloaded built-in models
- Added SHA-256 integrity validation for local model streams
- ONNX runtime 1.28.0
Version 2.2.0
- Multi target nuget for .NET MAUI 10 and .NET MAUI 9
- Library initialization simplified
- Continuous capturing and recognition switched to "Pull-Frame" mechanism for simpler and more efficient stream capturing
- License plate decoding has been updated to handle license plates with spaces (encoded as dashes) to ensure unique identification, particularly for German license plates such as H-HA1 (Hanover) and HH-A1 (Hamburg).
- Loading of local models simplified and optimized
Version 2.1.7
- ISO country codes added to the output for better integration and identification of recognized license plates.
- ONNX 1.26.0
Version 2.1.6
- Some minor bugfixes
- ONNX runtime 1.24.2
Version 2.1.5
- Swiss license plate validation fixed
Version 2.1.4
- License plate decoding has been updated to handle license plates with spaces (encoded as dashes) to ensure unique identification, particularly for German license plates such as H-HA1 (Hanover) and HH-A1 (Hamburg).
Version 2.1.3
- Drawing options made accessible during runtime to change appearance of overlay without recreating the view
Version 2.1.2
- nuget dependencies updated to latest versions
- Android 16 kb page size support added
- option switch fixed and optimized
Version 2.1.1
- options made disposable and some tool functions added
Version 2.1.0
- New Fluent API
- New recognition modes (country-based, vehicle-based, "no country" just license plate)
Version 2.0.4
- ConsoleLogger moved to Core library
- Nugets: Updated to latest versions except Microsoft MAUi controls to provide best compatibility
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0-android35.0 is compatible. net9.0-ios18.0 is compatible. net10.0-android was computed. net10.0-android36.0 is compatible. net10.0-ios was computed. net10.0-ios26.0 is compatible. |
-
net10.0-android36.0
- CapCognition.Maui.Core (>= 2.2.2)
- CapCognition.Net.Licensing (>= 1.2.2)
- Microsoft.Maui.Controls (>= 10.0.90)
- Microsoft.Maui.Controls.Compatibility (>= 10.0.90)
- Microsoft.ML.OnnxRuntime (>= 1.30.0)
- SkiaSharp (>= 4.152.1)
-
net10.0-ios26.0
- CapCognition.Maui.Core (>= 2.2.2)
- CapCognition.Net.Licensing (>= 1.2.2)
- Microsoft.Maui.Controls (>= 10.0.90)
- Microsoft.Maui.Controls.Compatibility (>= 10.0.90)
- Microsoft.ML.OnnxRuntime (>= 1.30.0)
- Microsoft.ML.OnnxRuntime.Extensions (>= 0.14.0)
- SkiaSharp (>= 4.152.1)
-
net9.0-android35.0
- CapCognition.Maui.Core (>= 2.2.2)
- CapCognition.Net.Licensing (>= 1.2.2)
- Microsoft.Maui.Controls (>= 9.0.120)
- Microsoft.Maui.Controls.Compatibility (>= 9.0.120)
- Microsoft.ML.OnnxRuntime (>= 1.30.0)
- SkiaSharp (>= 4.152.1)
-
net9.0-ios18.0
- CapCognition.Maui.Core (>= 2.2.2)
- CapCognition.Net.Licensing (>= 1.2.2)
- Microsoft.Maui.Controls (>= 9.0.120)
- Microsoft.Maui.Controls.Compatibility (>= 9.0.120)
- Microsoft.ML.OnnxRuntime (>= 1.30.0)
- Microsoft.ML.OnnxRuntime.Extensions (>= 0.14.0)
- SkiaSharp (>= 4.152.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.2.2 | 111 | 11/15/2026 |
| 2.2.1 | 117 | 10/18/2026 |
| 2.2.0 | 189 | 6/21/2026 |
| 2.1.7 | 156 | 5/10/2026 |
| 2.1.6 | 165 | 2/22/2026 |
| 2.1.5 | 159 | 2/8/2026 |
| 2.1.4 | 158 | 2/7/2026 |
| 2.1.3 | 158 | 1/25/2026 |
| 2.1.2 | 219 | 10/18/2025 |
| 2.1.1 | 210 | 8/23/2025 |
| 2.1.0 | 204 | 8/23/2025 |
| 2.0.5 | 308 | 6/8/2025 |
| 2.0.4 | 270 | 4/13/2025 |
| 2.0.3 | 259 | 3/16/2025 |
| 2.0.2 | 230 | 2/16/2025 |
| 2.0.1 | 236 | 2/12/2025 |
| 2.0.0 | 222 | 1/22/2025 |
| 1.0.1 | 254 | 9/26/2024 |
| 1.0.0 | 246 | 9/22/2024 |