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

[Error] OCR init fail. Argd: {'enable_mkldnn': True, 'cpu_threads': 2, 'config_path': 'models/config_chinese.txt', 'cls': False, 'use_angle_cls': False, 'limit_side_len': 960} OCR init fail. #699

Open
1 task done
zhaoxiaona001 opened this issue Oct 23, 2024 · 1 comment

Comments

@zhaoxiaona001
Copy link

Issues

  • I have browsed through the Issues. 我已浏览过Issues,确定没有重复提问。

Umi-OCR version 程序版本

2.1.4

Windows version 系统版本

10

OCR plugins Used 使用的OCR插件

PaddleOCR

Reproduction steps 复现步骤

启动,截图,图片自动填充到程序左侧,等一会就报错了

Problem screenshots or related files (optional) 问题截图或相关文件(可选)

No response

@hiroi-sora
Copy link
Owner

hiroi-sora commented Oct 23, 2024

你好。根据 'cpu_threads': 2 判断,如果您没有手动修改线程数的话,你的CPU应该是双核的入门/工控机CPU,很可能不含AVX指令集。 PaddleOCR 插件依赖AVX指令集来调用mkldnn数学加速,没有此指令集就会报错。

对于此类CPU,建议你重新下载使用 RapidOCR 引擎版本的 Umi-OCR 。 Rapid 的硬件兼容性更好,而且内存占用更低,对低性能平台更友好。

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