1 Star 9 Fork 0

嘉心糖EDA / MATLAB车牌识别

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
getword.m 610 Bytes
Copy Edit Raw Blame History
嘉心糖EDA authored 2024-01-16 14:30 . first commit
function [word,result]=getword(d)
word=[];flag=0;y1=8;y2=0.5;
while flag==0
[m,n]=size(d);
wide=0;
while sum(d(:,wide+1))~=0&&wide<=n-2
wide=wide+1;
end
temp=qiege(imcrop(d,[1 1 wide m]));
[m1,n1]=size(temp);
if wide<y1&&n1/m1>y2
d(:,[1:wide])=0;
if sum(sum(d))~=0
d=qiege(d);%иСΧ
else word=[];flag=1;
end
else
word=qiege(imcrop(d,[1 1 wide m]));
d(:,[1:wide])=0;
if sum(sum(d))~=0
d=qiege(d);flag=1;
else d=[];
end
end
end
result=d;
Matlab
1
https://gitee.com/lceda/MATLAB_LPRS.git
git@gitee.com:lceda/MATLAB_LPRS.git
lceda
MATLAB_LPRS
MATLAB车牌识别
master

Search