-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
[Bug] Crash while scanning photo text #103
Comments
@rileyhawk1417 indeed it is not supposed to happen. Could you share the image so i can try to reproduce? If i cant i will share a test version with debug logs and crash report |
@rileyhawk1417 ok i cant reproduce it using your image. Does it work for other images? or is OCR simply always crashing for you? |
Well I did try the other settings |
@rileyhawk1417 ok good to know. And standard works for other images? |
Well some images do manage to get the progress bar to 100%. The app still crashes when using OCR in standard mode. Others dont even give it time to scan. |
@rileyhawk1417 it seems like a tesseract crash. But to make sure i 100% understand. You never get on image to work with standard? |
Yes thats correct the |
🤔so tesseract is the engine for the OCR? |
@rileyhawk1417 yes right now the app is using tesseract. I already faced issues with Tesseract. Not sure why it always crashes in your case. English right? |
Yes am using english text in most cases. |
@rileyhawk1417 can you try this build https://github.com/Akylas/OSS-DocumentScanner/releases/tag/test_android ? |
Just tested on 3 images, it crashed each time on the |
@rileyhawk1417 thanks i got the report. It is indeed a crash in tesseract. I ll investigate but it is a bit tough as i cant reproduce it here. |
No worries glad it came through. |
Same issue here. The OCR model download failed due to connection lost in my first attempt. The app should try to download it again in the next attempt, instead it shows the 'detecting text' screen and crashes after few seconds |
@RamPawar7 good catch! i did not think about this. WIll fix |
In the latest update, the app now correctly downloads the models if it was failed in previous attempt. But I had to clear the app data after updating for it to work |
@RamPawar7 yes i am totally sorry i forgot to tell you that. To have the less impact it had to be you (failed download) reset the app. Otherwise all app users would have been asked to download again. |
@farfromrefug No worries. I am a new user, so I didn't have any important data |
Version
App version
1.2.25 Build 35
What platform are you using?
Android
OS Version
Android 12
The phone is a Tecno KH6 running stock android.
What happened?
Tried scanning some text from a photo but it crashed.
Theres a screen recording of it below.
Pretty sure thats not supposed to happen.
screen-20240130-222704.mp4
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: