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