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

WebAssembly port #170

Closed
abdulhannanali opened this issue Dec 5, 2017 · 4 comments
Closed

WebAssembly port #170

abdulhannanali opened this issue Dec 5, 2017 · 4 comments

Comments

@abdulhannanali
Copy link

Hello, Is it possible to have a Web Assembly port of Tesseract.JS, I suppose that'd be faster?

@jeromewu
Copy link
Member

Starting from v2, we support WebAssembly, feel free to try 😄

@MonsieurMan
Copy link

@jeromewu Can you please clarify what you mean by supporting WebAssembly ?

Does it mean you use emscripten to compile to WebAssembly instead of asm.js in v2 ?

Thanks.

@jeromewu
Copy link
Member

@MonsieurMan Yes, I have configured emscripten to output WebAssembly version and asm.js version. By default tesseract.js v2 will use WebAssembly version, and fallback to asm.js when the browser is not supported.

Some more information here: https://github.com/naptha/tesseract.js/blob/master/docs/local-installation.md

@MonsieurMan
Copy link

@jeromewu This is nice ! I'll write a small PWA using it for saving my book quotes in the next few weeks. I'll keep you updated. ☺️

Maybe you should mention WebAssembly and the fallback to asm.js in the readme upfront ? It's a good selling point !

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

3 participants