license plate recognition- need to compare with data stored in .mat file

My current project is automatic license plate recognition by using video processing for private resident. Only registered license plate are allowed to enter the gate. Currently, I reached extraction section and the character come out exactly in the cell from the video. The problem is, I need to compare the extraction words with a data stored in .mat file. I don't know how to compare the OCR result with the .mat file. Example is :
Extracted character - SXC983UY
Expected result after comparing - SXC983UY is Registered!!!
Can anyone help me to solve my problem?.

 Respuesta aceptada

Load the .mat file. Suppose it contains a cell string of all valid licences, use
if any(strcmp(valid_licences, current_licence))
disp('Registered')
end

3 comentarios

fikhri izwan
fikhri izwan el 19 de Nov. de 2015
Editada: fikhri izwan el 19 de Nov. de 2015
Thanks for the answer Thorsten. Can you show me how to create the .mat file with the stored data same as my example?.
I understood that you already have a .mat file. Do you have a list of the valid registered license plates?
My programme can execute as I desired based on your suggestion. Thank you so much Thorsten. Really appreciate the answer. Thank you so much once again. :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 19 de Nov. de 2015

Comentada:

el 23 de Nov. de 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by