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

Ocrad Node not recognize .jpg #41

Open
henningsummer opened this issue Jul 17, 2018 · 0 comments
Open

Ocrad Node not recognize .jpg #41

henningsummer opened this issue Jul 17, 2018 · 0 comments

Comments

@henningsummer
Copy link

ocrad.js/examples/nodejs/app.js

In my code, after the upload image.jpg return this error:

C:\Users\henni\Documents\mocaai\public\js\ocrad.js:121
throw ex;
^

Error: Image given has not completed loading
at C:\Users\henni\Documents\mocaai\app\routes\ocrRT.js:65:21
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)

It so only in files .jpg on NODE! In files .png thats OK on NODE! But, in browser run .jpg and .png no problems!

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

1 participant