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

Doesn't seem to work for me using the test.png file #19

Open
jrgleason opened this issue Apr 28, 2015 · 3 comments
Open

Doesn't seem to work for me using the test.png file #19

jrgleason opened this issue Apr 28, 2015 · 3 comments

Comments

@jrgleason
Copy link

I went to the page http://antimatter15.com/ocrad.js/demo.html. I try to drag and drop the test.png from the examples folder. It shows...

Cannot enlarge memory arrays in asm.js. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, or (2) set Module.TOTAL_MEMORY before the program runs.
 ocrad.js:7985 Uncaught abort() at Error
   at stackTrace (http://antimatter15.com/ocrad.js/ocrad.js:935:15)
   at abort (http://antimatter15.com/ocrad.js/ocrad.js:7985:25)
@adadgio
Copy link

adadgio commented Jan 9, 2019

Any update on the issue ? I am having the same problem, maybe our images are too large ?

@kba
Copy link
Contributor

kba commented Jan 9, 2019

Cannot reproduce. If I download https://github.com/antimatter15/ocrad.js/blob/master/examples/nodejs/test.png and drag it to http://antimatter15.com/ocrad.js/demo.html, recognition works fine (well, ocrad-fine).

Also, it's weird that the error message states that memory is limited to 16MB since the build.sh sets TOTAL_MEMORY to 32MB.

Could be a browser thing? Tried it in Win 10 Chrome 68.0.3440.75.

@adadgio
Copy link

adadgio commented Jan 9, 2019

I am trying from nodeJS on my side. I don't think this an OCRAD issue though.... More about reading very big buffer array from javascript , client side or server side.

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