hello sir, i am doing my project on vehicle license plate recognition . i want to extract car license plate. i am working in matlab. can u give me matlab code fot extracting license plate from rgb car image. please.
MATLAB: Car license plate extraction
character segmentationdoit4melpr
Related Solutions
csvwrite() cannot write character strings.
dlmwrite() can only write character strings if you are tricky about it by using '' as the field specifier and using '%c' or '%s' in the optional Precision parameter -- and it can only print one string per line when you do that (and all of the lines need to be the same length.) dlwrite() is only intended for pure numeric values and anything else is a hack.
xlswrite() has two possible modes.
If you are not using MS Windows, or if you are using MS Windows but Excel cannot be found or cannot be started, then xlswrite() operates in 'basic' mode. 'basic' mode can only write strings if the cell array contains entirely strings with no numeric values, and if in every column the strings are exactly the same length; in that case 'basic' mode will create a .csv file with one character per entry, comma separated, no distinction made between adjacent cells. This is pretty restrictive and seldom to be desired.
If you are using MS Windows, and Excel can be found and started, then xlswrite() can write mixed arrays without problem.
If you are each character in its own cell, chances are high that Excel could not be found or started and that 'basic' mode has been used. There is nothing you can do about that while still using xlswrite(), except to fix your Excel.
To write strings to files without using xlswrite() or dlmwrite() or csvwrite(), then you need to fopen() a file for writing, fprintf() or fwrite() contents to it, and fclose() the file afterwards. Writing .xls files this way is not easy, as xls files use a proprietary binary format. Writing .xlsx files is easier, as those use a more open text format, but it still isn't much fun. Writing plain .txt or .csv files is relatively easy, though:
fid = fopen('C:\Users\Computer_Vision_in_Quality_Control\Project\data.csv', 'wt');fprintf(fid, '%s\n', license_plate);fclose(fid);
Best Answer