進階掃描在 .NET 框架
在 x32 專案中使用 IronOcr.Extensions.AdvancedScan 套件將拋出以下異常。
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()
解決方案
要解決此問題,請導航到項目配置並取消勾選 "Prefer 32-bit" 選項。
原因
在 .NET Framework 上使用高級掃描要求專案運行在 x64 架構上。IronOcr.Extensions.AdvancedScan 包使用 Intel 的 OpenVINO 來編譯和推理 PaddleOCR 模型,而這些模型不支援 Windows x86。