car license plate character recognition using neural network
Mostrar comentarios más antiguos
sir again i have one big query...iwant to recognize the license plate charactyer using neural network...but really i m too much confuse that how could i find the link between segmented characters and neural network....means i m unable to find syntax of giving segmented characters as i/p of neural...plese ans me..if any idea...please.........any one help me.....
Respuesta aceptada
Más respuestas (6)
Swati
el 10 de Abr. de 2012
This one is the code for you,,,of Number plate recognition,,,I have earlier work on this one,,,,in this take a image of car,,then take seperate image of its no plate (for ex,,if no is MP 09-T_456,,,,so take seperate image of M then P,,,then,,,T,,,so on,,,all will b in a single folder n in .bmp format)
may ths one helps you,,,
{I = imread('car.jpg');
I2 = rgb2gray(I);
I4 = im2bw(I2, 0.2);
bw = bwareaopen(I4, 500);
se = strel('disk',15);
bw = imclose(bw,se);
bw = imfill(bw,[1 1]);
[B,L] = bwboundaries(bw,4);
imshow(label2rgb(L, @jet, [.5 .5 .5]))
hold on
for k = 1:length(B)
boundary = B{k};
plot(boundary(:,2),boundary(:,1),'w','LineWidth',2)
end
stats = regionprops(L,'Area','Centroid');
for k = 1:length(B)
boundary = B{k};
delta_sq = diff(boundary).^2;
perimeter = sum(sqrt(sum(delta_sq,2)));
area = stats(k).Area;
metric = 27*area/perimeter^2;
metric_string = sprintf('%2.2f',metric);
if metric >= 0.9 && metric <= 1.1
centroid = stats(k).Centroid;
plot(centroid(1),centroid(2),'ko');
goalboundary = boundary;
s = min(goalboundary, [], 1);
e = max(goalboundary, [], 1);
goal = imcrop(I4,[s(2) s(1) e(2)-s(2) e(1)-s(1)]);
end
text(boundary(1,2)-35,boundary(1,1)+13,...
metric_string,'Color','g',...
'FontSize',14,'FontWeight','bold');
end
goal = ~goal;
goal(256,256) = 0;
figure;
imshow(goal);
w = imread('P.bmp');
w = ~w;
C=real(ifft2(fft2(goal).*fft2(rot90(w,2),256,256)));
thresh = 240;
figure;
imshow(C > thresh);
4 comentarios
sneha
el 10 de Abr. de 2012
sneha
el 11 de Abr. de 2012
Archit Save
el 16 de En. de 2016
Editada: Archit Save
el 16 de En. de 2016
i am getting an error...'Undefined function or variable goal'
Image Analyst
el 16 de En. de 2016
You probably renamed or misspelled a variable somewhere. What variable is given in the call to imshow() just prior to that? If goal weren't a variable, then the imshow() would have thrown an error before the fft line.
sneha
el 10 de Abr. de 2012
0 votos
sneha
el 11 de Abr. de 2012
0 votos
sneha
el 14 de Abr. de 2012
0 votos
1 comentario
Derick kundukulam
el 23 de Nov. de 2014
did the code work.. even i'm gettin the error C=real(ifft2(fft2(goal).*fft2(rot90(w,2),256,256)));
Image Analyst
el 14 de Abr. de 2012
0 votos
Have you checked here http://iris.usc.edu/Vision-Notes/bibliography/motion-f726.html#License%20Plate%20Recognition,%20Extraction,%20Analysis? Does neural nets seem to be the most common method?
Imtiaz Hussain
el 23 de Feb. de 2020
0 votos
this is my research topic plz can you help me?
1 comentario
Image Analyst
el 23 de Feb. de 2020
Categorías
Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!