# RapidOCRCSharp **Repository Path**: RapidAI/RapidOCRCSharp ## Basic Information - **Project Name**: RapidOCRCSharp - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-05-20 - **Last Updated**: 2025-08-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RapidOcrOnnxCs ### 联系方式 [QQ群](https://rapidai.github.io/RapidOCRDocs/main/communicate/#qq) ### 介绍 * 本项目为Windows平台C# WinForm范例。 * 依赖的包:Emgu.CV、MicroSoft.ML.OnnxRuntime、clipper_library ### Demo下载(win、mac、linux) 编译好的demo文件比较大,可以到Q群共享内下载 ### 编译环境 1. Windows 10 x64 2. Visual Studio 2017或以上 ### 编译说明 1. Vs2019打开RapidOcrOnnxCs.sln。 2. 解决方案资源管理器->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 3. 解决方案资源管理器->OcrLiteOnnxForm->右键->管理NuGet程序包->浏览->搜索->安装 * 注意:Emgu.CV要选作者是“Emgu Corporation” * Emgu.CV 4.5.5.4823 * Emgu.CV.Bitmap 4.5.5.4823 4. 确保:OcrLiteOnnxForm设为启动项目 5. 确保:OcrLiteOnnxForm->右键->属性->生成->平台目标:x64 6. 确保:OcrLiteLib->右键->属性->生成->平台目标:x64 7. 生成解决方案 8. 把models文件夹复制到```\RapidOcrOnnxCs\OcrOnnxForm\bin\Debug(或Release)``` * [模型下载地址](https://github.com/znsoftm/BaiPiaoOCR/tree/main/models) 9. 运行 ### 其它 * 修改模型路径,模型名称,线程数,必须“重新初始化”才能生效 * 输入参数说明请参考[RapidOcrOnnx](https://github.com/RapidAI/RapidOcrOnnx/tree/61d7b434d2b773eb61dab85328240789f69b3ae0#%E8%BE%93%E5%85%A5%E5%8F%82%E6%95%B0%E8%AF%B4%E6%98%8E)