Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save msinnema/e2d8a185df8e2a7f3e57b731836ce662 to your computer and use it in GitHub Desktop.
Save msinnema/e2d8a185df8e2a7f3e57b731836ce662 to your computer and use it in GitHub Desktop.
IntradaCreateSettings ("Settings", &settings);
IntradaSetCountries (settings, "NL");
IntradaCreateData (&data);
while (continue)
{
IntradaLoadImage (next_image_name, 1, &image);
IntradaDataSetImage (data, image);
IntradaRecognize (settings, data);
IntradaGetNumberOfPlates (data, &nr_plates);
if (nr_plates > 0)
{
IntradaGetPlateRegistrationNumber (data, 0, reg_num, INTRADA_MAX_CHARS_REGISTRATION_NUMBER+1);
printf ("%s\n", reg_num);
}
else
{
printf ("UNRECOGNIZED\n");
}
IntradaDestroyImage (image);
}
IntradaDestroyData (data);
IntradaDestroySettings (settings);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment