Skip to content

[Feature]: nbocr has out-of-the-box Metal, OpenCL, Vulkan and CUDA! #1659

@SuperCowProducts

Description

@SuperCowProducts

Describe the proposed feature

My machine's best GPU acceleration (like many others, especially mobile devices now) is Vulkan, so nbocr is pretty exciting (the default models are very fast, I'd say comparable to Tesseract (an objective measure of just how much better it may be would be interesting, not sure how to go about that though).

Only obstacle is JSON->PDF embeddings, any suggestions for this?

I did find a very good Paddle-OCR substitute (excellent LaTeX support and everything, which the faster nbocr is missing) which worked well even just on CPU (but should be possible to get GPU working once PyTorch is compiled for that GPU (e.g. OpenCL, Vulkan), but I got stuck on this same step...

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions