CapCognition.Maui.LPR 2.1.1

dotnet add package CapCognition.Maui.LPR --version 2.1.1
                    
NuGet\Install-Package CapCognition.Maui.LPR -Version 2.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CapCognition.Maui.LPR" Version="2.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CapCognition.Maui.LPR" Version="2.1.1" />
                    
Directory.Packages.props
<PackageReference Include="CapCognition.Maui.LPR" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CapCognition.Maui.LPR --version 2.1.1
                    
#r "nuget: CapCognition.Maui.LPR, 2.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CapCognition.Maui.LPR@2.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CapCognition.Maui.LPR&version=2.1.1
                    
Install as a Cake Addin
#tool nuget:?package=CapCognition.Maui.LPR&version=2.1.1
                    
Install as a Cake Tool

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 at runtime
  • Background download of models before recognition is supported (recognition fails if models are missing)

Recognition Modes (new in 2.1.0)

The detection can be configured in different modes depending on application requirements:

  1. Country-based plate → then vehicle type (vehicle type is detected only if a plate was recognized).
  2. Country-based plate only (no vehicle type detection).
  3. Vehicle type only.
  4. Vehicle type first → then country-based plate (plate search only inside detected vehicles).
  5. "No country" plate → then vehicle type (plate detection without country validation).
  6. "No country" plate only (no vehicle type detection).
  7. 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.

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

Release Notes

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 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-ios was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.1.1 61 8/23/2025
2.1.0 59 8/23/2025
2.0.5 197 6/8/2025
2.0.4 147 4/13/2025
2.0.3 145 3/16/2025
2.0.2 124 2/16/2025
2.0.1 124 2/12/2025
2.0.0 101 1/22/2025
1.0.1 146 9/26/2024
1.0.0 129 9/22/2024