1 Star 9 Fork 0

Watson / vehicle-license-plate-recognition-system

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
location.m 438 Bytes
一键复制 编辑 原始数据 按行查看 历史
Watson 提交于 2023-02-27 12:03 . first
function [px1,px2,py1,py2]=location(d)
%ͼƶλ
[y,x]=size(d);
myI=double(d);
a=1;
for i=1:x
for j=1:y
if myI(j,i,1)==1
weiz1(1,a)=i;
a=a+1;
break;
end
end
end
px1=min(weiz1)+3;
px2=max(weiz1)-3;
a=1;
for i=1:y
for j=1:x
if myI(i,j,1)==1
weiz2(1,a)=i;
a=a+1;
break;
end
end
end
py1=min(weiz2)+3;
py2=max(weiz2)-3;
Matlab
1
https://gitee.com/lovelots/vehicle-license-plate-recognition-system.git
git@gitee.com:lovelots/vehicle-license-plate-recognition-system.git
lovelots
vehicle-license-plate-recognition-system
vehicle-license-plate-recognition-system
master

搜索帮助