car license plate extraction

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.

 Accepted 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

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!