PaddleOCRSharp icon indicating copy to clipboard operation
PaddleOCRSharp copied to clipboard

无法加载 DLL“PaddleOCR.dll”: 找不到指定的模块

Open kylecj77 opened this issue 3 years ago • 3 comments

Hi Raoyutian 下面是我调用paddlepcr遇到的问题,请帮忙看看。。谢谢

System.DllNotFoundException HResult=0x80131524 Message=无法加载 DLL“PaddleOCR.dll”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。 Source=PaddleOCRSharp StackTrace: 在 PaddleOCRSharp.PaddleOCREngine.Initialize(String det_infer, String cls_infer, String rec_infer, String keys, OCRParameter parameter) 在 PaddleOCRSharp.PaddleOCREngine..ctor(OCRModelConfig config, OCRParameter parameter) 在 D:\Worke\builds\Paddle\PaddleOCRSharp-main\PaddleOCRSharp\PaddleOCREngine.cs 中: 第 55 行 在 RSADemo.RSADetct.RSAOCR(String ImPath, String OutputSaveImPath, String& Result) 在 D:\Worke\builds\Paddle\RSADetctText\RSADetctText\RSADemo\RSADetct.cs 中: 第 37 行 在 RSADemo.Form1.button1_Click(Object sender, EventArgs e) 在 D:\Worke\builds\Paddle\RSADetctText\RSADetctText\RSADemo\Form1.cs 中: 第 27 行 在 System.Windows.Forms.Control.OnClick(EventArgs e) 在 System.Windows.Forms.Button.OnClick(EventArgs e) 在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) 在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) 在 System.Windows.Forms.Control.WndProc(Message& m) 在 System.Windows.Forms.ButtonBase.WndProc(Message& m) 在 System.Windows.Forms.Button.WndProc(Message& m) 在 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) 在 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) 在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) 在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) 在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) 在 RSADemo.Program.Main() 在 D:\Worke\builds\Paddle\RSADetctText\RSADetctText\RSADemo\Program.cs 中: 第 19 行

kylecj77 avatar Mar 04 '22 08:03 kylecj77

加QQ群318860399讨论。

raoyutian avatar Mar 04 '22 10:03 raoyutian

加QQ群318860399讨论。

加不了,,,QQ群设置了不能申请加入

kylecj77 avatar Mar 05 '22 02:03 kylecj77

我也出现相同的错误 ver:2.0.2

3400442579 avatar Jun 15 '22 07:06 3400442579

还有你的启动程序编译平台改成X64就可以了,

ym9288 avatar May 30 '23 07:05 ym9288