Sample applications¶
On Android the source code comes with #4 sample applications: Benchmark, VideoParallel, VideoSequential and ImageSnap.
For other platforms (Windows, Linux, Jetson, Raspberry Pi…) and languages (C++, Java, C#, Python) more samples are available at https://github.com/DoubangoTelecom/ultimateALPR-SDK/tree/master/samples.
Benchmark¶
This application is used to check everything is ok and running as fast as expected. The information about the minimum frame rate (37 fps on Raspberry Pi, 91 fps on Galaxy S24, 310 fps on Orange Pi and 472 fps on Jetson Nano) could be checked using this application. It’s open source and doesn’t require registration or license key.
Source code: https://github.com/DoubangoTelecom/ultimateALPR-SDK/tree/master/samples/c%2B%2B/benchmark
VideoParallel¶
This application should be used as reference code by any developer trying to add ultimateALPR to their products. It shows how to detect and recognize license plates in realtime using live video stream from the camera. Please check Parallel versus sequential processing section for more info about parellel mode.
ultimateALPR running on Android¶
VideoSequential¶
Same as VideoParallel but working on sequential mode which means slower. This application is provided to ease comparing the modes: Parallel versus Sequential.
ImageSnap¶
This application reads and display the live video stream from the camera but only recognize an image from the stream on demand.
Trying the samples¶
- To try the sample applications on Android:
Open Android Studio and select “Open an existing Android Studio project”
Navigate to “<ultimateALPR-SDK>/samples”, select “android” folder and click “OK”
Select the sample you want to try (e.g. “videoparallel”) and press “run”. Make sure to have the device on landscape mode for better experience.