-
Notifications
You must be signed in to change notification settings - Fork 284
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 work with tesseract #100
Comments
Hi @korbi-oranssi good to know you are working on ONS code. I can't tell what incompatibility you got, maybe I can tell something if you paste the logcat output. All you have done was add the dependency? is there any other change on ONS code? Best regards, |
Thanks for a quick response! Yes, everything I have done was just adding the dependency (I checked it once again now, downloading the project, successfully running it and then adding the dependecny - so I'm pretty sure). Here's the log, starting from the problem part:
|
It is very strange... the error:
indicates it is trying to load the wrong version of the opencv library. can you test again disabling tesseract? |
|
I think I figured it out. To make it work, I need to use OpenCV locally, building it in the project directly, so it will load only 32-bit libraries. I'll try it |
It should work with opencv manager.
Em 4 de março de 2018 11:42:41 BRT, Paktalin <[email protected]> escreveu:
…I think I figured it out. To make it work, I need to use OpenCV
locally, building it in the project directly, so it will load only
32-bit libraries. I'll try it
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#100 (comment)
--
E-mail enviado do meu celular Android usando K-9 Mail. Por favor, desculpe minha brevidade.
|
I found something similar for tess-two : link |
Looks like you are using 32bit version of tess-two.
|
Yes, most likely. It seems to be by default in tess-two. To make it 64-bit I need to build it in the app directly, not just referencing from dependencies. I spent 3 hours, trying to do it, but it's very hard for such a novice as I am. So I came back to you. Is there any way to build in OpenCV in the app, so it won't use OpenCV Manager? I would be very grateful if you could help me. I tried my best to solve it on my own, but it seems that I can't :( Sorry for bothering. |
I tried to build opencv from source without success. It is a very dense project. I hope I can get on it again sometime.
I am a novice too... ONS is the only Android app I ever wrote!
Unfortunately I can't help you more on this right now, but integrating with tesseract is a good feature and I may visit it in the future.
Please write here about your findings!
|
It's very cool for the only Android app :D and very useful. I'm gonna find the solution anyways and will text you about the results. Thank you for being so helpful and kind. |
Thank you for enjoying ONS.
Well... I code for decades, just new on Android!
Hope you get success with tesseract!
Em 4 de março de 2018 16:19:27 BRT, Paktalin <[email protected]> escreveu:
…It's very cool for the only Android app :D and very useful. I'm gonna
find the solution anyways and will text you about the results.
Thank you for being so helpful and kind.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#100 (comment)
--
E-mail enviado do meu celular Android usando K-9 Mail. Por favor, desculpe minha brevidade.
|
I've done it. Had to import tess-two manually as a module, like it's described here and then repair millions of errors :) If you wish to use it, feel free to contact me any time here or by email (it's written in my account). Thanks a lot again, you saved me. |
Good to know!
If you develop a feature on ONS using it, feel free to submit a pull
request. You are encouraged also on making and maintain a clone on github
and put there your features, even if you don't want to submit a pull
request or I choose to not accept it.
Best regards,
Claudemir
Em seg, 5 de mar de 2018 às 07:55, Paktalin <[email protected]>
escreveu:
… I've done it. Had to import tess-two manually as a module, like it's
described here
<https://github.com/rmtheis/tess-two/blob/master/BUILDING.md> and then
repair millions of errors :) If you wish to use it, feel free to contact me
any time here or by email (it's written in my account).
Thanks a lot again, you saved me.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#100 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFyh0EZr_Le3HThF76OXuqvVdHddbo9gks5tbRmigaJpZM4SbF4g>
.
|
Hi! First of all, big thanks for the application, for publishing the source code and for helping us with issues. I don't know what would I do without you.
But I've got an issue. Here it is:
When I add a tesseract dependency
compile 'com.rmtheis:tess-two:8.0.0'
I get an error "OpenCv was not initialised correctly. Application will be shut down" on my device.
Could you help me, please?
The text was updated successfully, but these errors were encountered: