Yes, it is possible.
You have 2 choices:
- you can call tesseract executable from your app.
- you can use the api interface and link your poject with tesseract.
To see how, read the documentation and the old messages in this group.
Regards.
Hello everyone,
I made a gallery, now I need to implement OCR function using tesseract, is this even possible? So a bit about the application, I am opening the image using Qt methods, and everything is working fine considering that part, now I need to implement the part where the user clicks on button "OCR" (or w/e), and I get the output file lets say in the folder where the image is.
Kinda new with using open source projects and implementing them into my application so I would really appreciate any help. Thank you in advance.
Milan
--
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to tesser...@googlegroups.com
To unsubscribe from this group, send email to
tesseract-oc...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en
Yes, it is possible.
You have 2 choices:
- you can call tesseract executable from your app.
- you can use the api interface and link your project with tesseract.
Thank you all for the answers.
Zdenko I have a really beginners question, what are all the steps I need to take so I can start working on something similar to the application you showed me[1]. My biggest problem is implementing libraries and so on, this is my 1st time using code that I did not write... Thank you in advance.
Milan
[1]https://github.com/zdenop/qt-box-editor
On Fri, Aug 24, 2012 at 2:34 AM, zdenko podobny <zde...@gmail.com> wrote:Why couldn't someone just use the VS2008 [1] or VS2010 [2] versions of Qt?
> First of all you need tesseract dependencies (leptonica + its dependencies).
> You can compile it by yourself, but in this case you need to install
> mingw+msys environment... than you need to compile tesseract library.
>
> In past I was successful in using leptonica library build by VC++
> (leptonica-1.68-win32-lib-include-dirs.zip) within QT Creator (with mingw),
> but as far as I know it is not correct way...
>
> Maybe during weekend I can try to publish needed libs + include file, maybe
> example QT4 project for using tesseract api (without QT4 dependencies)...
I haven't tried this myself. The last (and only) time I tried Qt I
used python and PyQt [3] instead of C++ and wrote a small python class
using the ctypes package to hook into Leptonica. I find PyQt *much*
easier to use than straight Qt but I suppose it's trickier to package
up the result into something that you can ship to people.