RapidOCRCSharp
RapidOCRCSharp copied to clipboard
RapidOcrOnnxCs
联系方式
- QQ群号: 1群:~887298230~ 已满,2群:755960114,3群:450338158, 4群:419196348
介绍
- 本项目为Windows平台C# WinForm范例。
- 依赖的包:Emgu.CV、MicroSoft.ML.OnnxRuntime、clipper_library
Demo下载(win、mac、linux)
编译好的demo文件比较大,可以到Q群共享内下载
编译环境
- Windows 10 x64
- Visual Studio 2017或以上
编译说明
- Vs2019打开RapidOcrOnnxCs.sln。
- 解决方案资源管理器->OcrLib->右键->管理NuGet程序包->浏览->搜索->安装
- 注意:Emgu.CV要选作者是“Emgu Corporation”
- Emgu.CV 4.5.5.4823
- Emgu.CV.runtime.windows 4.5.5.4823
- MicroSoft.ML.OnnxRuntime 1.12.1
- clipper_library 6.2.1
- 解决方案资源管理器->OcrLiteOnnxForm->右键->管理NuGet程序包->浏览->搜索->安装
- 注意:Emgu.CV要选作者是“Emgu Corporation”
- Emgu.CV 4.5.5.4823
- Emgu.CV.Bitmap 4.5.5.4823
- 确保:OcrLiteOnnxForm设为启动项目
- 确保:OcrLiteOnnxForm->右键->属性->生成->平台目标:x64
- 确保:OcrLiteLib->右键->属性->生成->平台目标:x64
- 生成解决方案
- 把models文件夹复制到
\RapidOcrOnnxCs\OcrOnnxForm\bin\Debug(或Release)
- 运行
其它
- 修改模型路径,模型名称,线程数,必须“重新初始化”才能生效
- 输入参数说明请参考RapidOcrOnnx