Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dulizhi opened this issue May 7, 2020 · 3 comments

Comments

@dulizhi
Copy link

dulizhi commented May 7, 2020

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

运行到: int result_num = lps(file_name, 2);// 只写结果
出现以上错误。

环境:win7 + vs2013 , release + x64

@cditqq
Copy link

cditqq commented Nov 4, 2020

我也出现同样的问题,请问是否解决?

@dulizhi
Copy link
Author

dulizhi commented Nov 10, 2020 via email

@ZhaoChenCe
Copy link

debug模式下加opencv_world310d.lib,release模式下加opencv_world310.lib 是不同哒。 希望能帮到你

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants