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<http://code.google.com/p/leptonica/downloads/detail?name=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)...

-- 
Zdenko

On Thu, Aug 23, 2012 at 8:58 PM, Milan <[email protected]> wrote:

> Windows 7, and using QT Creator.
>
>
> On Thursday, August 23, 2012 8:17:07 PM UTC+2, zdenop wrote:
>
>> What OS + IDE are you using?
>> --
>> Zdenko
>>
>> On Thu, Aug 23, 2012 at 7:30 PM, Milan <[email protected]> wrote:
>>
>>> 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/**q**t-box-editor<https://github.com/zdenop/qt-box-editor>
>>>
>>> On Wednesday, August 22, 2012 9:19:56 PM UTC+2, zdenop wrote:
>>>>
>>>> On Wed, Aug 22, 2012 at 6:38 AM, Andres <[email protected]> wrote:
>>>>
>>>>> 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.
>>>>>
>>>> If you want to use c++ API you can use  tesseractmain.cpp[1] as
>>>> example application.
>>>> If you are interesting to use c++ API within QT, have a look at 
>>>> qt-box-editor[2]
>>>> and there to TessTools.cpp - there is example how to convert QImage to PIX
>>>> and vice versa...
>>>>
>>>> [1] http://code.google.com/p/**t**esseract-ocr/source/browse/**tru**
>>>> nk/api/tesseractmain.cpp?r=**694<http://code.google.com/p/tesseract-ocr/source/browse/trunk/api/tesseractmain.cpp?r=694>
>>>> [2] 
>>>> https://github.com/zdenop/****qt-box-editor<https://github.com/zdenop/qt-box-editor>
>>>>
>>>>
>>>> --
>>>> Zdenko
>>>>
>>>>> To see how, read the documentation and the old messages in this group.
>>>>>
>>>>> Regards.
>>>>> El 22/08/2012 00:15, "Milan" <[email protected]> escribió:
>>>>>
>>>>>  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 [email protected]
>>>>>>
>>>>>> 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<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
>>> tesseract-oc...@**googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/**group/tesseract-ocr?hl=en<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
>

-- 
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

Reply via email to