License Plate Recognition SDK

DTK LPR SDK

Current Version: 5.6.20
Release Date: 30 Oct 2024

DTK LPR SDK (Automatic Number Plate Recognition/License Plate Recognition) is a software development kit designed for software developers who want to integrate vehicle license plate recognition into their software products. The LPR Engine detects and recognizes license plates from various video sources (IP cameras, video files, video capture devices) and still images (JPEG, PNG, BMP). The fast and stable LPR Engine is built on the latest technologies and algorithms, provides highly accurate plate recognition from the real-time video at a resolution up to 1920x1080 (Full HD), and supports many plate formats of different countries.

It is compatible with standard IP camera protocols and encodings (such as MJPEG/HTTP, H.264/RTSP) and custom video sources, providing decoded (RAW) frame images to the LPR engine. The SDK can be used with the most popular programming languages like C++, C#, VB.Net, Java, Python, etc. The documentation, help files, and sample applications (C++, C#, VB.NET, Delphi, Java, Python) are included in the SDK.

DTK Software offers an end-user license plate recognition solution developed based on DTK LPR SDK, which can be integrated with existing systems without software development.

Create Free Trial Account

Online Demo

Main Advantages

  • 98% recognition rate (including low quality and damaged plates)
  • 15-40 ms processing of a single frame/image
  • Recognition up to 16 plates on a single image
  • Supports 2-line plates
  • Detects country format of a vehicle plate
  • State detection for United States and Canada
  • Considers country format specific features
  • Provides coordinates and confidence of a recognized vehicle plate
  • Provides coordinates and confidence of a individual characters of a vehicle plate
  • Detects vehicle/plate movement direction in a video
  • Captures video from IP cameras, video files, video capture devices

The following C# code example demonstrates video processing from an IP camera
private void btnRecognizeVideo_Click(object sender, EventArgs e)
{
    LPRParams parameters = new LPRParams();
    parameters.Countries = "DE,NL,DK,PL";
    parameters.MinPlateWidth = 80;
    parameters.MaxPlateWidth = 300;
    LPREngine engine = new LPREngine(parameters, true, OnLicensePlateDetected);
    VideoCapture videoCap = new VideoCapture(OnFrameCaptured, OnCaptureError, engine);
    videoCap.StartCaptureFromIPCamera("rtsp://user:pass@192.168.1.105/axis-media/media.amp");
}
private void OnFrameCaptured(VideoCapture videoCap, VideoFrame frame, object customObject)
{
    LPREngine engine = (LPREngine)customObject;
    engine.PutFrame(frame, 0);
}
private void OnLicensePlateDetected(LPREngine engine, LicensePlate plate)
{
    Console.WriteLine(string.Format("Plate text: {0} Country: {1} Confidence: {2}",
           plate.Text, plate.CountryCode, plate.Confidence));
    plate.Dispose();
}
The following C# code example shows how to read license plates from an image
private void btnRecognizeImage_Click(object sender, EventArgs e)
{
    LPRParams parameters = new LPRParams();
    parameters.Countries = "DE,NL,DK,PL";
    parameters.MinPlateWidth = 80;
    parameters.MaxPlateWidth = 300;
    LPREngine engine = new LPREngine(parameters, false, null);
    List<LicensePlate> plates = engine.ReadFromFile("C:/Images/test.jpg");
    foreach (LicensePlate plate in plates)
    {
        Console.WriteLine(string.Format("Plate text: {0} Country: {1} Confidence: {2}",
            plate.Text, plate.CountryCode, plate.Confidence));
    }
}

Supported countries

Albania
Andorra
Argentina
Armenia
Australia
Austria
Azerbaijan
Belarus
Belgium
Bosnia-Herzegovina
Brazil
Bulgaria
Canada
Chile
Croatia
Cyprus
Czech Republic
Denmark
Ecuador
Estonia
Finland
France
Georgia
Germany
Greece
Hungary
Iceland
India
Ireland
Israel
Italy
Kazakhstan
Kosovo
Kyrgyzstan
Latvia
Lithuania
Luxembourg
Macedonia
Malaysia
Malta
Mexico
Moldova
Mongolia
Montenegro
Netherlands
New Zealand
Norway
Pakistan
Poland
Portugal
Romania
Russia
Serbia
Slovakia
Slovenia
South Korea
Spain
Sweden
Switzerland
Taiwan
Tajikistan
Turkey
Turkmenistan
Ukraine
United Kingdom
United States
Uzbekistan
Vietnam
Zambia

Links

Supported Operating Systems

  • Windows 32/64-bit (7/8/10/11/Server 2008/2012/2016/2019/2022)
  • Linux (32/64bit, armhf, arm64)
window and linux icons

Downloads

To download the full or trial version of the software, please go to the Downloads page.