Tesseract for Mobiles?

169 views
Skip to first unread message

Amit S

unread,
May 12, 2009, 7:39:01 AM5/12/09
to tesseract-ocr
Hi,

One small query,
can tesseract be ported on to Mobile Phones ?

I want to develop a J2ME application using this. is it possible ?
If J2ME Midlet is not possible can I use Python or C++ for developing
my application.
Please provide some guidelines.

is there any already existing free Mobile OCR ?

Remi Thomas

unread,
May 13, 2009, 11:46:13 AM5/13/09
to tesseract-ocr
Hi,

No because tesseract source code is full of static variables. Many
mobile phone doesn't like statics.

Rémi

Ray Smith

unread,
May 29, 2009, 1:31:57 PM5/29/09
to tesser...@googlegroups.com
Yes, it needs a bit of work to properly compile it, but the EMBEDDED and GRAPHICS_DISABLED defines help it build on a limited platform, and it can be made to run on Android.
Ray.

liu7290

unread,
Jun 1, 2009, 11:13:08 AM6/1/09
to tesseract-ocr
Hi Ray,
I tried compiled the latest code on SVN successfully using static
linked library, but when I run it on my android dev phone, it give
following errors,

terminate called after throwing an instance of
'__gnu_cxx::__concurrence_broadcast_error'
what(): __gnu_cxx::__concurrence_broadcast_error
[1] Aborted ./tesseract eurotext.tif a

I also tried to use GRAPHICS_DISABLED and EMBEDDED, but it will
give a lot of compiling error with these two macro defined.

I know some guy have made it run on Android, but currently I have
not clue or info how to solve this, it seems I have to dig into the
tesseract source code and remove the un-supported code. :(

Any hints would be greatly anticipated, thanks.

Best Regards
Liutao

On 5月30日, 上午1时31分, Ray Smith <theraysm...@gmail.com> wrote:
> Yes, it needs a bit of work to properly compile it, but the EMBEDDED and
> GRAPHICS_DISABLED defines help it build on a limited platform, and it can be
> made to run on Android.Ray.
>

Ray Smith

unread,
Jun 1, 2009, 2:49:27 PM6/1/09
to tesser...@googlegroups.com
You could try looking at http://android.git.kernel.org/?p=platform/external/tesseract.git;a=summary
but it has a caveat:
This is a branch of an old preliminary version of tesseract 3.00, but merging with the real 3.00 will be difficult.
Ray.

2009/6/1 liu7290 <liu...@gmail.com>
Reply all
Reply to author
Forward
0 new messages