C source code
The example below shows how easy it is to use INTRADA ALPR and thus how easy
it is to add license plate recognition capabilities to your own software.
Without using any knowledge of your specific system set-up, INTRADA ALPR already
recognizes license plates with a high recognition rate. To obtain an even
better performance, the example code can be extended gradually with more sophisticates
Intrada routines. This enables you to tune the recognition engine for your
specific system set-up.
The example consists of only two routines with no more than 60 lines of C
code. The main() routine initializes Intrada ALPR, creates an IntradaSettings
(an object containing system parameters), specifies the country Brazil, calls
the routine RecognizeImage() for four images and finalizes the library.
The routine RecognizeImage() loads the appropriate image and stores
it in a newly created IntradaData. This object may contain all kind
of information like image data and recognition results. The recognition results
are added to the IntradaData by the IntradaRecognize call. Some
of this information (registration number, confidence, and country) is then
retrieved and printed to the screen. Finally the image and the IntradaData
object are destroyed.