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)

相关推荐
JQLvopkk几秒前
C# 轻量级工业温湿度监控系统(含数据库与源码)
开发语言·数据库·c#
玄同76514 分钟前
从 0 到 1:用 Python 开发 MCP 工具,让 AI 智能体拥有 “超能力”
开发语言·人工智能·python·agent·ai编程·mcp·trae
czy878747516 分钟前
深入了解 C++ 中的 `std::bind` 函数
开发语言·c++
消失的旧时光-194321 分钟前
从 Kotlin 到 Dart:为什么 sealed 是处理「多种返回结果」的最佳方式?
android·开发语言·flutter·架构·kotlin·sealed
yq19820430115622 分钟前
静思书屋:基于Java Web技术栈构建高性能图书信息平台实践
java·开发语言·前端
一个public的class23 分钟前
你在浏览器输入一个网址,到底发生了什么?
java·开发语言·javascript
Jinkxs25 分钟前
Gradle - 与Groovy/Kotlin DSL对比 构建脚本语言选择指南
android·开发语言·kotlin
&有梦想的咸鱼&25 分钟前
Kotlin委托机制的底层实现深度解析(74)
android·开发语言·kotlin
BD_Marathon1 小时前
设计模式——依赖倒转原则
java·开发语言·设计模式
devmoon1 小时前
在 Polkadot Runtime 中添加多个 Pallet 实例实战指南
java·开发语言·数据库·web3·区块链·波卡