Hi Nick,
there is a 50mb limit for the size of the app binary.
There are only a limited number possible solutions for the size problem:
- providing a large separate data file that gets downloaded
automatically by the play store after the user installed the app. The
problem here is that space is often times a rather rare resource on android
phones. Many low end devices have only 2 or 4gb in total. If a single app
takes several hundred megs many users would complain or not even understand
why so much space is needed. So in the end i decided against this all or
nothing approach
- let the app selectively download the training data at the cost of
adding the internet permission. This is how it is now.
- let the user push the training data manually to the app by copying it
to the sd card himself. (this is currently possible but i think this
feature is too complicated for the average user)
Regarding publishing the code. I want to do this. Iam not yet sure if i
want to use the GPL or Apache 2.0.
Also since i modified tesseract and leptonica sources a bit and have
several submodules i need to write a proper build script or readme file
before releasing the sources.
If i have time i'll push something to my git hub this weekend.
Cheers
Renard
Am Freitag, 10. Mai 2013 11:04:04 UTC+2 schrieb Nick White:
>
> On Fri, May 10, 2013 at 12:32:32AM -0700, Renard Wellnitz wrote:
> > Unfortunately i had to add this permission because it was not feasible
> to pack
> > the training data into the apk file. English alone is about 20mb and
> there are
> > more than 50 languages.
> > Now the user can selectivly download those files later if he wishes.
>
> I saw this too, and agree it isn't ideal. I'm not particularly
> familiar with Android, but might one of the following ideas be
> better?
>
> - Have separate packages ("apps") for each training file (I don't
> know if the Google Play store would like that, or if everything is
> too sandboxed for it to work)
> - Just include all of the languages in the app, or in a
> multilingual (i.e. non-english) version. Is space for apps a
> problem on Android devices? I naively assumed they would have many
> GiB of space.
>
> Are you planning to release the source code under a free license?
> That would be amazing!
>
> Thanks for this work Renard, it's great to see :)
>
> Nick
>
--
--
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en
---
You received this message because you are subscribed to the Google Groups
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.