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.

 Risposta accettata

Matt Kindig
Matt Kindig il 4 Apr 2012
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

Categorie

Scopri di più su Environment and Settings in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by