.NET Framework 高级扫描与 OCR识别配置
This article was translated from English: Does it need improvement?
Translated
View the article in English
在 x32 项目中使用 IronOcr.Extensions.AdvancedScan 包进行 OCR识别时会引发以下异常。 正确配置此扩展对于图片转文字功能至关重要。
Unhandled Exception: System.NotImplementedException: The method or operation is not implemented.
at IronSoftware.Deployment.DeploymentEngine.Deploy[T](String custom_dir, Boolean download)
at Iron.Ocr.Extensions.ttotlb.get_kiobqg()
at Iron.Ocr.Extensions.ttotlh.jvwyxt()
Unhandled Exception: System.NotImplementedException: The method or operation is not implemented.
at IronSoftware.Deployment.DeploymentEngine.Deploy[T](String custom_dir, Boolean download)
at Iron.Ocr.Extensions.ttotlb.get_kiobqg()
at Iron.Ocr.Extensions.ttotlh.jvwyxt()
SHELL
解决方案
要解决此问题,请导航至项目配置并取消选中"首选 32 位"选项。

原因
在 .NET Framework 上使用高级扫描功能需要项目在 x64 架构上运行。 IronOcr.Extensions.AdvancedScan 软件包利用 Intel 的 OpenVINO 编译 PaddleOCR 模型并从中进行推断,但这些模型不支持 Windows x86。
准备开始了吗?
Nuget 下载 5,585,834 | 版本: 2026.4 刚刚发布

