The simplest solution would be:
Runtime.exec(new String[]{tesseractPath.getAbsolutePath(),
tif.getAbsolutePath(), outputBase.getAbsolutePath(), "-l", language});
karl
1 mar 2012 kl. 14:13 skrev thera:
> Hi
> I'm trying to make use of Tesseract in a java project but I really
> can't figure out the process of doing it.
> Could someone please help me (Using a Mac 10.6)
>
> I got the idea that a library by the name libtesseract_api.a
>
>
> Taken from the ReadMe
> "Another important change is that you should really be using
> TessBaseAPI if you are linking with another program. In Linux (non-
> Windows) the main library is now libtesseract_api.a instead of the old
> libtesseract_full.a."
>
> Sorry this may seem very simple but cant seem to figure out.
> Any help would be really great
> Thanks
>
> --
> 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 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