资源简介
操控GUI界面调用MATLAB车牌识别函数,与MySQL数据库相连查询归属地、车主信息,记录车牌识别记录、时间、地点。
代码片段和文件信息
function [PY2PY1PX2PX1Plate]=caitu_fenge(I)
[yxz]=size(I);
if x<900
beishu=1000/x;
end
if x>900
myI=double(I);
Y_threshlow=5;%这个数值很重要。决定了提取的彩图的质量
X_firrectify=5;%ganrao transaction
%====================== Y 方向============================
Blue_y=zeros(y1);
for i=1:y
for j=1:x
%if (myI(ij1)<=48)&&(myI(ij2)>=40)&&(myI(ij2)<=90)&&(myI(ij3)<=220)&&(myI(ij3)>=80)
if((myI(ij1)<=48)&&((myI(ij2)<=100)&&(myI(ij2)>=40))&&((myI(ij3)<=200)&&(myI(ij3)>=80)))
%if ((myI(ij1)<=0.7)&&(myI(ij1)>=0.6)&&((myI(ij2)<=1.8)&&(myI(ij2)>=0.6))&&((myI(ij3)<=1.7)&&(myI(ij3)>=0.45)))
Blue_y(i1)= Blue_y(i1)+1; % 蓝色象素点统计
end
end
end
baisebili=0;changkuanbi=0;
k=0;
while(~((baisebili>=0.12)&&(baisebili<=0.5)&&(changkuanbi>=0.20)&&(changkuanbi<=0.6)))%gai shan qingxie
if (k==0)%第一次进来
[temp MaxY]=max(Blue_y);% Y方向车牌区域确定 temp(最多点数):所有行中,最多的累积像素点 MaxY(最多点所在行):该行中蓝点最多
% if temp<=20%2048*1536 照相
% msgbox(‘车牌定位出错3‘‘warning‘);
% wavplay(wavread(‘车牌定位出错.wav‘)22000);
% pause;
%end
PY1=MaxY;%有最多蓝点的行付给PY1
while ((Blue_y(PY11)>=Y_threshlow)&&(PY1>1))%找到图片上边界
PY1=PY1-1;
end
%PY1:存储车牌上边界值
PY2=MaxY;
while ((Blue_y(PY21)>=Y_threshlow)&&(PY2 PY2=PY2+1;
end
%==============X 方向===============================
X_threshhigh=(PY2-PY1)/11;%这个数值很重要。决定了提取的彩图的质量适当提高可抗干扰,但是小图会照成剪裁太多
Blue_x=zeros(1x); % 进一步确定X方向的车牌区域
for j=1:x
for i=PY1:PY2
% if((myI(ij1)<=48)&&((myI(ij2)<=90)&&(myI(ij2)>=30))&&((myI(ij3)<=160)&&(myI(ij3)>=80)))
if((myI(ij1)<=65)&&((myI(ij2)<=100)&&(myI(ij2)>=40))&&((myI(ij3)<=160)&&(myI(ij3)>=90)))%这里由82修改成90.因为图片20090504809
% if ((myI(ij1)<=0.7)&&(myI(ij1)>=0.6)&&((myI(ij2)<=1.8)&&(myI(ij2)>=0.6))&&((myI(ij3)<=1.7)&&(myI(ij3)>=0.45)))
Blue_x(1j)= Blue_x(1j)+1;
end
end
end
[temp MaxX]=max(Blue_x);
PX1=MaxX-6*(PY2-PY1);
if PX1<=1
PX1=1;
end
while ((Blue_x(1PX1)<=X_threshhigh)&&(PX1 PX1=PX1+1;
end %确定出X方向车牌起点
PX2=MaxX+6*(PY2-PY1);
if PX2>=x
PX2=x;
end
while ((Blue_x(1PX2)<=X_threshhigh)&&(PX2>PX1))%阈值
PX2=PX2-1;
end%确定出X方向车牌终点
% PX1=1;
% while ((Blue_x(1PX1)<=X_threshhigh)&&(PX1 % PX1=PX1+1;
% end %确定出X方向车牌起点
% PX2=x;
% while ((Blue_x(1PX2)PX1))%阈值
% PX2=PX2-1;
% end%确定出X方向车牌终点
%=========================================================
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-05-12 12:59 Plate recognition system source code\
目录 0 2015-05-16 10:50 Plate recognition system source code\Plate recognition system source code\
文件 53738 2009-05-03 06:32 Plate recognition system source code\Plate recognition system source code\0.WAV
文件 59458 2009-05-03 06:32 Plate recognition system source code\Plate recognition system source code\1.WAV
文件 66058 2009-05-03 06:32 Plate recognition system source code\Plate recognition system source code\2.WAV
文件 58138 2009-05-03 06:32 Plate recognition system source code\Plate recognition system source code\3.WAV
文件 53738 2009-05-03 06:32 Plate recognition system source code\Plate recognition system source code\4.WAV
文件 50218 2009-05-03 06:32 Plate recognition system source code\Plate recognition system source code\5.WAV
文件 61218 2009-05-03 06:32 Plate recognition system source code\Plate recognition system source code\7.WAV
文件 58138 2009-05-03 06:32 Plate recognition system source code\Plate recognition system source code\8.WAV
文件 51538 2009-05-03 06:32 Plate recognition system source code\Plate recognition system source code\9.WAV
文件 57258 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\A.WAV
文件 58138 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\B.WAV
文件 71338 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\C.WAV
文件 51098 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\D.WAV
文件 5216 2015-05-13 21:48 Plate recognition system source code\Plate recognition system source code\Data.xls
文件 48018 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\E.WAV
文件 57258 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\F.WAV
文件 76618 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\G.WAV
文件 70018 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\H.WAV
文件 63418 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\J.WAV
文件 59458 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\K.WAV
文件 53298 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\L.WAV
文件 66058 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\M.WAV
文件 60778 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\N.WAV
文件 51978 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\P.WAV
文件 66058 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\Q.WAV
文件 59898 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\R.WAV
文件 59018 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\S.WAV
文件 802 2015-05-13 21:14 Plate recognition system source code\Plate recognition system source code\SEC_xiuzheng.m
文件 47138 2009-05-03 06:31 Plate recognition system source code\Plate recognition system source code\T.WAV
............此处省略142个文件信息
- 上一篇:Git版本控制管理第2版(mobi)版6寸
- 下一篇:mupad 教程
相关资源
- mupad 教程
- RTW自动代码生成指导书
- [Matlab作品]matlab实现视频中动态目标跟
- matlab通信系统工具箱
- 各种最小二乘法汇总算例及MATLAB程序
- 一维热传导方程数值解法及matlab实现
-
详解MATLAB/Simuli
nk通信系统建模与仿 - DTI matlab 实现代码
-
50种电力电子基础拓扑Simuli
nk仿真 - LTE系统仿真平台_matlab源码
- 用Matlab将坐标添加到地图上
- 有限体积的MATLAB工具
- matlab 神经网络 遥感图像分类 可用程
-
Labview调用Matlab(用MATLAB sc
ript技术) - SPAMS 信号稀疏表示Matlab工具包windows版
- Matlab时频分析工具箱及仿真案例
- 基于matlab的运动目标检测源代码
- biot 双向介质正演模拟matlab程序
- 端元提取——顶点成分分析VCA的MATL
- 运动估计快速算法(TSSDS)matlab
- LSB信息隐藏实验 matlab代码及实验报告
- 含储能电池风电场并网可靠性评估.
- 基于栅格地图的蚁群算法路径规划
- matlab汉化补丁
- matlab基于BP神经网络的人脸识别13953
- SPAMS_matlab_v2.5
- matlab移动平均算法
- MATLAB雷达多普勒微动仿真
- 自适应全变分图像去噪模型及其快速
- 7个经典传感器网络WSN节点定位算法的
评论
共有 条评论