License Plate Recognition SDK
DTK LPR SDK
Current Version: 5.6.21
Release Date: 26 Nov 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.
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
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();
}
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
Links
- Supported countries/formats (PDF)
- SDK Documentation
- Тo read about how to properly install the LPR camera, click on this link.
Supported Operating Systems
- Windows 32/64-bit (7/8/10/11/Server 2008/2012/2016/2019/2022)
- Linux (32/64bit, armhf, arm64)
Downloads
To download the full or trial version of the software, please go to the Downloads page.