ocr_class

mean_image (Image, ImageMean1, 3, 3)

mean_image (Image, ImageMean2, 50, 50)

dyn_threshold (ImageMean1, ImageMean2, RegionDynThresh, 35, 'light')

connection (RegionDynThresh, ConnectedRegions)

select_shape (ConnectedRegions, SelectedRegions, ['width','height'], 'and', [10,10], [50,60])

dilation_circle (SelectedRegions, RegionDilation, 2)

region_to_bin (RegionDilation, BinImage, 0, 255, Width, Height)

shape_trans (RegionDilation, RegionTrans, 'rectangle1')

sort_region (RegionTrans, SortedRegions, 'character', 'true', 'row')

read_ocr_class_mlp ('Pharma_0-9+.omc', OCRHandle)

do_ocr_multi_class_mlp (SortedRegions, BinImage, OCRHandle, Class, Confidence)

smallest_rectangle1 (SortedRegions, Row1, Column1, Row2, Column2)

相关推荐
资深web全栈开发26 分钟前
[特殊字符]图解 Golang 反射机制:从底层原理看动态类型的秘密
开发语言·后端·golang
独隅5 小时前
在 Lua 中,你可以使用 `os.date()` 函数轻松地将时间戳转换为格式化的时间字符串
开发语言·lua
思麟呀6 小时前
Linux的基础IO流
linux·运维·服务器·开发语言·c++
星释6 小时前
Rust 练习册 :Pythagorean Triplet与数学算法
开发语言·算法·rust
星释6 小时前
Rust 练习册 :Nth Prime与素数算法
开发语言·算法·rust
lkbhua莱克瓦247 小时前
Java基础——集合进阶3
java·开发语言·笔记
多喝开水少熬夜7 小时前
Trie树相关算法题java实现
java·开发语言·算法
QT 小鲜肉7 小时前
【QT/C++】Qt定时器QTimer类的实现方法详解(超详细)
开发语言·数据库·c++·笔记·qt·学习
lsx2024067 小时前
MySQL WHERE 子句详解
开发语言
Tony Bai7 小时前
【Go模块构建与依赖管理】09 企业级实践:私有仓库与私有 Proxy
开发语言·后端·golang