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

Taking too much time to load first. #38

Open
visionsIT opened this issue Jul 25, 2019 · 3 comments
Open

Taking too much time to load first. #38

visionsIT opened this issue Jul 25, 2019 · 3 comments

Comments

@visionsIT
Copy link

It is taking too much time to load its first time, and also taking long time to scan.

@mjurfest
Copy link

The same it's happening to me. It takes 5+ seconds to load camera and it doesn't scan the passport. @evermeer do you plan to fix this issue?

@evermeer
Copy link
Owner

The phone speed and camera quality really matters here. I recommend using an iPhone 8 or later. When I use the demo project on my phone the scan starts within 2 seconds after pressing the button. The speed for recognizing the text depends much on the light plus the phone speed. On my phone it's able to do more than 2 OCR tests a second. A lot of filters are applied to the image to make the OCR as good as possible.

Using Tesseract as the OCR engine gives the best results. There are not any other open source OCR libraries that have better results. If you do know any OCR library with better results then please let me know. I already have done quite some optimizations to make the OCR as good as possible. You could try playing around with the filters. If you find a more optimal setting, then please let me know.

@mjurfest
Copy link

mjurfest commented Jan 3, 2020

I am trying on an iPhone 8 and the first time it still takes around 5 seconds, then yes it loads fast. Anyway I wasn't able to scan my passport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants