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

ARM 64支持 #689

Open
1 task done
zhuochengsir opened this issue Oct 16, 2024 · 1 comment
Open
1 task done

ARM 64支持 #689

zhuochengsir opened this issue Oct 16, 2024 · 1 comment

Comments

@zhuochengsir
Copy link

Issues

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

Expected behavior 预期的功能

期望支持ARM 64的版本,或者我能够从哪方面入手尝试将linux版本迁移到适用arm 64,然后进行镜像打包吗?

Approximate reference (optional) 近似的参考(可选)

No response

@hiroi-sora
Copy link
Owner

hiroi-sora commented Oct 17, 2024

你好。我们暂时没有适配ARM的计划。如果你有兴趣,非常欢迎你的贡献。

本项目大体上可以分为前端(python、pyside、qml)和后端(OCR推理引擎)两部分。

  • 前端在设计时已考虑跨平台,您可参考 Umi-OCR_runtime_linux ,将 嵌入式运行环境包 中的内容更换为兼容ARM的包即可,代码理论上不用动。
  • 后端,有两种处理思路:
  1. PaddleOCR-jsonRapidOCR-json 编译为ARM版本,然后扔到Umi对应的插件目录(比如 linux_PaddleOCR-json )。你可能需要参考 PaddleOCRRapidOcrOnnx 的官方文档。
  2. 不使用Paddle或Rapid,另外找一个兼容ARM的OCR引擎,然后参考 Umi-OCR 插件开发指南 将它封装为OCR插件。

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