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

4 次查看(过去 30 天)
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?.

采纳的回答

Thorsten
Thorsten 2015-11-19
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 个评论
Thorsten
Thorsten 2015-11-19
I understood that you already have a .mat file. Do you have a list of the valid registered license plates?
fikhri izwan
fikhri izwan 2015-11-23
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. :)

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by