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

v2使用异常 #209

Closed
Hipidan opened this issue Oct 22, 2023 · 7 comments
Closed

v2使用异常 #209

Hipidan opened this issue Oct 22, 2023 · 7 comments

Comments

@Hipidan
Copy link

Hipidan commented Oct 22, 2023

同设备,v1一直在使用,体验了下v2无法使用,win11
image

@hiroi-sora
Copy link
Owner

hiroi-sora commented Oct 22, 2023

已确认 bug ,正在修复。

@hiroi-sora
Copy link
Owner

paddle 插件补丁.zip

你好,请下载该补丁,按说明将文件放置于指定路径下。

这个补丁有很大几率能修复问题。如果不能修复,则报错弹窗中将会包含更详细的信息,请将新的弹窗截图给我。

@Hipidan
Copy link
Author

Hipidan commented Oct 23, 2023

还是报错image

@hiroi-sora
Copy link
Owner

hiroi-sora commented Oct 23, 2023

可以再做个实验吗:

  1. 打开控制台(win+R,输入cmd,回车)
  2. 在控制台输入两行代码,尝试手动启动OCR引擎:
cd C:\Users\My\Desktop\Umi-OCR_Paddle_dev_20231018\UmiOCR-data\plugins\win7_x64_PaddleOCR-json
C:\Users\ccmok\Desktop\SOFT\Umi-OCR_Paddle_dev_20231018\UmiOCR-data\plugins\win7_x64_PaddleOCR-json/PaddleOCR-json.exe --enable_mkldnn=True --cpu_threads=12 --config_path="models/config_chinese.txt" --cls=False --use_angle_cls=False --limit_side_len=960

看看输出结果是不是一串 e[37m---,最后OCR init completed.

image

@Hipidan
Copy link
Author

Hipidan commented Oct 23, 2023

image

@Hipidan
Copy link
Author

Hipidan commented Oct 23, 2023

感谢回复,安装Visual C++ Redistributable for Visual Studio 2015,目前已经可以正常使用了

@hiroi-sora
Copy link
Owner

hiroi-sora commented Oct 23, 2023

哦哦,明白了。v2的引擎组件我没有放 msvcp140.dll 系列dll,所以在你的系统上出现了问题。后续版本我会内置这些动态库。

不过按理说win10及以上的系统会自带vc库的,顶多是win7会缺乏这些环境……可能你装游戏或者开发工具的时候改动过vc库

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

2 participants