jacklicn / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

FEATURE REQUEST: Partial compilation of Tesseract based on features required #538

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi there,

I use tesseract on android. Although it is great and it works the library 
itself takes up a lot of space ~6-7 Mbs. It is not a problem on a desktop but 
on a mobile device that's a massive issue.

So I was wondering if some extra flags features flags can be added to the build 
files so that only needed components are compiled and put into library?

For example: If I don't use API for cube, it only takes up space in the 
library. So if a flag BUILD_CUBE, for example,  can be added, then if it is set 
to 0 this API is not built. Do this for all different sub parts of the library, 
except for the core of course.

Of course by default everything is enabled so that the others don't see change 
in the behaviour when building. But this will make the library a lot more 
lightweight and a lot more manageable on the mobile devices.

Original issue reported on code.google.com by alexjiro...@gmail.com on 26 Aug 2011 at 10:27