MADE A PROJECT ON OCR and Machine Learning Based Automatic License Plate Recognition using MATLAB. I AM RECIEVING SOME ERRORS. NEED ASSSISTANCE TO SOLVE THOSE ERRORS

I AM RECIEVING THESE ERRORS
Brace indexing is not supported for variables of this type.
Error in readLetter (line 10)
sem=corr2(NewTemplates{1,n},snap); % Correlation the input image with every image in the template
for best matching.
Error in main (line 80)
letter=readLetter(Iprops(i).Image); % Reading the letter corresponding the binary image 'N'.

Answers (1)

In templates, you have
letter = [A B C D and so on]
number = [one two three and so on]
On both those lines, change the [] to {}
letter = {A B C D and so on}
number = {one two three and so on}

Products

Asked:

on 7 Apr 2019

Answered:

on 7 Apr 2019

Community Treasure Hunt

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

Start Hunting!