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

npu deploy #63

Open
han508 opened this issue Dec 17, 2024 · 1 comment
Open

npu deploy #63

han508 opened this issue Dec 17, 2024 · 1 comment

Comments

@han508
Copy link

han508 commented Dec 17, 2024

Please tell me whether it supports Huawei npu usage the following code.

from openocr import OpenOCR

engine = OpenOCR()

img_path = '/path/img_path or /path/img_file'
result, elapse = engine(img_path)

# Server mode
# engine = OpenOCR(mode='server')
@Topdu
Copy link
Owner

Topdu commented Dec 18, 2024

The current code does not automatically support npu, we will try to support it.

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