MATLAB: Car license plate extraction

character segmentationdoit4melpr

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.

Best Answer

Given that you have given us NO details about your problem, I will assume the simplest situation possible: each license plate image is named as 'XXXX.jpg', where 'XXX' is the license plate number.
Here's the code you requested:
[filename, pathname]= uigetfile('*.jpg','Choose file'); %get file
% extract license plate
[pathname, license_plate, ext] = fileparts([pathname '/' filename])
license_plate % this is the license plate
Related Question