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

Not seeing any results #35

Closed
zeke opened this issue Oct 15, 2016 · 4 comments
Closed

Not seeing any results #35

zeke opened this issue Oct 15, 2016 · 4 comments

Comments

@zeke
Copy link

zeke commented Oct 15, 2016

Using the sample code provided in the readme, I'm not seeing output of any kind. The process just seems to hang.

I created a sample repo. To reproduce:

git clone https://github.com/zeke/ocr-test/
cd ocr-test
npm install
npm start

My setup:

❯ node -v
v6.8.1

❯ uname -a
Darwin C02R41WSFVH8 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64

❯ npm ls tesseract.js
ocr-test@ /Users/zeke/Desktop/ocr-test
└── tesseract.js@1.0.7 

PS Out of curiosity, why is node>=6.8 required?

@bijection
Copy link
Member

Re: node versions we use const and class and stuff that only the 6.8+ supports.
Have you tried using a smaller image? It might just be taking a long time.

@Dreamersoul
Copy link

Dreamersoul commented Oct 17, 2016

@zeke the problem is with the image I have used another one and its working fine

@zeke
Copy link
Author

zeke commented Oct 17, 2016

I just downsaved the file to 700KB and let the process run for a while. After over ten minutes, I still see no output and my CPU usage is really high.

@bijection
Copy link
Member

It seems that jpeg on node is very slow, and that perhaps the bottleneck is inter-process communication, as discussed in #53. Closing this so we can continue investigating there.

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