CapCognition.Net.LicensePlateDetection
2.2.1
dotnet add package CapCognition.Net.LicensePlateDetection --version 2.2.1
NuGet\Install-Package CapCognition.Net.LicensePlateDetection -Version 2.2.1
<PackageReference Include="CapCognition.Net.LicensePlateDetection" Version="2.2.1" />
<PackageVersion Include="CapCognition.Net.LicensePlateDetection" Version="2.2.1" />
<PackageReference Include="CapCognition.Net.LicensePlateDetection" />
paket add CapCognition.Net.LicensePlateDetection --version 2.2.1
#r "nuget: CapCognition.Net.LicensePlateDetection, 2.2.1"
#:package CapCognition.Net.LicensePlateDetection@2.2.1
#addin nuget:?package=CapCognition.Net.LicensePlateDetection&version=2.2.1
#tool nuget:?package=CapCognition.Net.LicensePlateDetection&version=2.2.1
License Plate Detection (LPR) for .NET LTS
High-performance license plate recognition for many European countries, including optional vehicle type detection.
Designed for .NET LTS applications with optimized models for different hardware platforms.
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 with recognition rates above 98%.
- Selectable model qualities for performance optimization depending on hardware.
- CUDA acceleration on Windows and Linux for maximum performance.
Requires CUDA Toolkit and cuDNN. - Optional vehicle detection can be disabled for higher performance.
- Automatic model download with SHA-256 integrity validation at runtime if not bundled in the deployment.
- SHA-256 validation for local built-in model streams, including plate, text, wide-text, and vehicle models.
- Background pre-download supported (recognition fails if models are not available at runtime).
- Fluent API support (from version 2.1.0).
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.
Examples
See .NET LTS examples at CapCognition GitHub.
Documentation
See Documentation for more details.
Model Downloads
Note: The models can only be used together with the CapCognition License Plate Detection library.
Usage in other libraries is not permitted.
- 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
ModelStreamInfo.
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.
Platform Support
- Windows x64
- Linux 64-bit
- Linux ARM 64-bit (Raspberry OS)
- Raspberry OS 64-bit Bullseye (legacy)
- Raspberry OS 64-bit Bookworm
Only 64-bit operating systems are supported.
Licensing
This library is available as a trial version with a limited number of recognitions per application start.
- After reaching the limit, the application must be restarted to continue recognition.
- The trial version is intended for testing and development purposes only.
- For production use, a license must be purchased.
Release Notes
Version 2.2.1
- Added the temporal license plate tracker with three operating modes, bounded image retention and country-specific separator-aware stabilization.
- Improved compatibility with the updated asynchronous processing lifecycle in CapCognition.Net.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
Version 2.2.0
- .NET 10
- AOT compilation support
- 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
- Updated NuGet dependencies
- ONNX 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
- option switch fixed and optimized
Version 2.1.2
- Updated NuGet dependencies
Version 2.1.1
- options made disposable and some tool functions added
Version 2.1.0
- Added Fluent API
- New recognition modes (country-based, vehicle-based, "no country" just license plate)
Version 2.0.3
- NuGet dependencies updated
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- CapCognition.Net.Core (>= 2.2.1)
- CapCognition.Net.Licensing (>= 1.2.2)
- Microsoft.ML.OnnxRuntime (>= 1.30.0)
- Microsoft.ML.OnnxRuntime.Gpu (>= 1.30.0)
- Microsoft.ML.OnnxRuntime.Managed (>= 1.30.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.1 | 118 | 10/18/2026 |
| 2.2.0 | 172 | 6/21/2026 |
| 2.1.7 | 143 | 5/10/2026 |
| 2.1.6 | 159 | 2/23/2026 |
| 2.1.5 | 159 | 2/8/2026 |
| 2.1.3 | 212 | 10/18/2025 |
| 2.1.2 | 237 | 10/13/2025 |
| 2.1.1 | 202 | 8/23/2025 |
| 2.1.0 | 196 | 8/23/2025 |
| 2.0.3 | 259 | 6/22/2025 |
| 2.0.2 | 289 | 4/13/2025 |
| 2.0.1 | 234 | 2/16/2025 |
| 2.0.0 | 223 | 1/22/2025 |
| 1.2.1 | 245 | 9/26/2024 |
| 1.2.0 | 254 | 5/12/2024 |
| 1.1.1 | 276 | 4/7/2024 |
LicensePlateDetection