1 Star 9 Fork 0

Watson / vehicle-license-plate-recognition-system

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
qiege.m 358 Bytes
一键复制 编辑 原始数据 按行查看 历史
Watson 提交于 2023-02-27 12:03 . first
function e=qiege(d)
[m,n]=size(d);
top=1;
bottom=m;
left=1;
right=n;
while sum(d(top,:))==0 && top<=m
top=top+1;
end
while sum(d(bottom,:))==0 && bottom>1
bottom=bottom-1;
end
while sum(d(:,left))==0 && left<n
left=left+1;
end
while sum(d(:,right))==0 && right>=1
right=right-1;
end
dd=right-left;
hh=bottom-top;
e=imcrop(d,[left top dd hh]);
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

搜索帮助