EasyPR-DLL-CSharp icon indicating copy to clipboard operation
EasyPR-DLL-CSharp copied to clipboard

EasyPR 1.5 的DLL版本——通过C#调用DLL文件来实现界面展现。(The DLL version of EasyPR 1.5: Achieving interface display by using the C # language to call DLL file. )

Results 19 EasyPR-DLL-CSharp issues
Sort by recently updated
recently updated
newest added

运行时打开c#窗体点击打开文件时报错 ![image](https://user-images.githubusercontent.com/75556544/101274441-0d917700-37d9-11eb-8c1d-5b402defb88b.png) ![image](https://user-images.githubusercontent.com/75556544/101274464-3dd91580-37d9-11eb-8932-7431644d32a8.png)

//将要执行的函数转换为委托 public Delegate Invoke (string APIName,Type t) { IntPtr api = GetProcAddress(hLib, APIName); return (Delegate)Marshal.GetDelegateForFunctionPointer(api, t); } 错误定位在return 这一行, 显示:System.ArgumentNullException”类型的未经处理的异常在 mscorlib.dll 中发生 其他信息: 值不能为 null。

断言在 \EasyPR-DLL-CSharp-master\CoreCode\src\core\chars_identify.cpp文件103行附近 ann_->predict(...)

程序运行起来,选择图片进行识别的时候出现:System.AccessViolationException:“尝试读取或写入受保护的内存。这通常指示其他内存已损坏

程序运行起来,选择图片进行识别的时候出现: System.AccessViolationException:“尝试读取或写入受保护的内存。这通常指示其他内存已损坏。” 运行到: int result_num = lps(file_name, 2);// 只写结果 出现以上错误。 环境:win7 + vs2013 , release + x64

首先感谢作者提供的代码,非常棒!(๑•̀ㅂ•́)و✧ 运行时,也遇到了大家所说的“尝试读取或写入受保护的内存”。 找了好久找到原因。 作者: 链接器-输入-附加依赖项 : opencv_world310d.lib;%(AdditionalDependencies) 但其实要分情况 解决方案配置: debug模式下加opencv_world310d.lib,release模式下加opencv_world310.lib 是不同哒。

“test_interface.exe”(CLR v4.0.30319: DefaultDomain): 已加载“C:\windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll”。已跳过加载符号。模块进行了优化,并且调试器选项“仅我的代码”已启用。 “test_interface.exe”(CLR v4.0.30319: DefaultDomain): 已加载“E:\BaiduYunDownload\EasyPR-DLL-CSharp-master\test_interface\bin\x64\Release\test_interface.exe”。已跳过加载符号。模块进行了优化,并且调试器选项“仅我的代码”已启用。 模块“test_interface.exe”的符号未加载。 1. 使用调试生成配置或禁用调试选项“启用‘仅我的代码’”。 2. 检查调试选项下的“符号”设置。“test_interface.exe”(CLR v4.0.30319: test_interface.exe): 已加载“C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll”。已跳过加载符号。模块进行了优化,并且调试器选项“仅我的代码”已启用。 “test_interface.exe”(CLR v4.0.30319: test_interface.exe): 已加载“C:\windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll”。已跳过加载符号。模块进行了优化,并且调试器选项“仅我的代码”已启用。 “test_interface.exe”(CLR v4.0.30319: test_interface.exe): 已加载“C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll”。已跳过加载符号。模块进行了优化,并且调试器选项“仅我的代码”已启用。 “test_interface.exe”(CLR v4.0.30319: test_interface.exe): 已加载“C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll”。已跳过加载符号。模块进行了优化,并且调试器选项“仅我的代码”已启用。 “test_interface.exe”(CLR v4.0.30319:...