1 Star 0 Fork 2

shatanzhihu/CodeRecognition

forked from xiaodelea/CodeRecognition 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
tzbJIGUANG.hdev 1.81 KB
一键复制 编辑 原始数据 按行查看 历史
朱为 提交于 2018-11-19 15:18 . 2333
<?xml version="1.0" encoding="UTF-8"?>
<hdevelop file_version="1.0" halcon_version="10.0" cs="31382638">
<procedure name="main">
<interface/>
<body>
<l>read_image (Image, 'D:/实习/图片/1115/tzb/zi/5.bmp')</l>
<l>binomial_filter (Image, ImageBinomial, 5, 5)</l>
<l>emphasize (ImageBinomial, ImageEmphasize, 7, 7, 1)</l>
<l>mean_image (ImageEmphasize, ImageMean, 15, 15)</l>
<l>dyn_threshold (ImageEmphasize, ImageMean, RegionDynThresh, 10, 'light')</l>
<l>closing_rectangle1 (RegionDynThresh, RegionClosing, 3, 5)</l>
<l>select_characters (RegionClosing, RegionCharacters, 'false', 'medium', 25, 45, 'false', 'false', 'none', 'false', 'medium', 'false', 200, 'completion')</l>
<l>union1 (RegionCharacters, RegionUnion1)</l>
<c></c>
<l>smallest_rectangle2 (RegionUnion1, Row, Column, Phi, Length1, Length2)</l>
<l>hom_mat2d_identity (HomMat2DIdentity)</l>
<l>hom_mat2d_rotate (HomMat2DIdentity, -Phi, 0, 0, HomMat2DRotate)</l>
<l>affine_trans_region (RegionDynThresh, RegionAffineTrans, HomMat2DRotate, 'false')</l>
<l>closing_rectangle1 (RegionAffineTrans, RegionClosing5, 3, 5)</l>
<l>select_characters (RegionClosing5, RegionCharacters1, 'false', 'medium', 20, 40, 'false', 'false', 'none', 'false', 'medium', 'false', 200, 'completion')</l>
<l>union1 (RegionCharacters1, RegionUnion2)</l>
<l>smallest_rectangle1 (RegionUnion2, Row1, Column1, Row2, Column2)</l>
<l>gen_rectangle1 (Rectangle, Row1, Column1, Row2, Column2)</l>
<l>intersection (Rectangle, RegionClosing5, RegionIntersection)</l>
<c></c>
<l>connection (RegionIntersection, ConnectedRegions4)</l>
<l>partition_dynamic (ConnectedRegions4, Partitioned1, 22, 20)</l>
<c></c>
<l>select_shape (Partitioned1, SelectedRegions4, ['height','width'], 'and', [25,10], [48,35])</l>
<l>count_obj (SelectedRegions4, Number)</l>
</body>
<docu id="main">
<parameters/>
</docu>
</procedure>
</hdevelop>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shatanzhihu/CodeRecognition.git
git@gitee.com:shatanzhihu/CodeRecognition.git
shatanzhihu
CodeRecognition
CodeRecognition
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385