deneme234.h is attached
2011/11/13 Merve Temizer <[email protected]>
> Console command also has opencv libraries and code has opencv headers
> included, you dont need them.
>
>
> 2011/11/13 Merve Temizer <[email protected]>
>
>> Hello,
>>
>> I attached a cpp file which i tried something with it. It is not a tidy
>> code but i think you can find some clues on how to use api directory of
>> tesseract.
>> Below is the console command on linux that i use to compile this cpp file
>>
>> g++ deneme234.cpp -I /usr/include/opencv -L/usr/lib
>> -L/usr/lib/pyshared/python2.7/opencv -lcxcore -lcv -lhighgui -lcvaux -I
>> /usr/include -I /usr/local/include/leptonica -I /usr/include/leptonica -I
>> /usr/local/include -I /usr/local/include/tesseract -L/usr/local/lib -I ./
>> -ltesseract_api -ltesseract_textord -ltesseract_main -ltesseract_wordrec
>> -ltesseract_classify -ltesseract_dict -ltesseract_viewer -ltesseract_ccutil
>> -ltesseract_ccstruct -ltesseract_cutil -ltesseract_image -ltiff -lpthread
>> -L ./ -g -O0 -o deneme2346
>>
>>
>>
>> 2011/11/13 zdenko podobny <[email protected]>
>>
>>>
>>>
>>> On Sun, Nov 13, 2011 at 5:32 AM, cyrt <[email protected]> wrote:
>>>
>>>> Could someone please explain how I can use tesseract in c++?
>>>
>>>
>>> use api/tesseractmain.cpp api/tesseractmain.h as example
>>>
>>>> I
>>>> downloaded the source files via svn and compiled the solution. Which
>>>> libraries do I now have to link and where do I find an include
>>>> directory containing all necessary header files?
>>>>
>>> officially there is no windows library solution yet.
>>>
>>> But have a look at developer forum - there are information with proposed
>>> solution for library on windows.
>>>
>>>>
>>>> --
>>>> 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
>>>
>>
>>
>
--
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
/*
#include "mfcpch.h"
// #define USE_VLD //Uncomment for Visual Leak Detector.
#if (defined _MSC_VER && defined USE_VLD)
#include <vld.h>
#endif
// Include automatically generated configuration file if running autoconf
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif
#ifdef USING_GETTEXT
#include <libintl.h>
#include <locale.h>
#define _(x) gettext(x)
#else
#define _(x) (x)
#endif
*/
#ifndef DENEME234_H
#define DENEME234_H
#include "resultiterator.h"
#include "allheaders.h"
#include "baseapi.h"
#include "strngs.h"
#include "tprintf.h"
#include "tesseractmain.h"
#include "publictypes.h"
#include "pageres.h"
#include "pageiterator.h"
class ResultIterator;
class Deneme234{
public:
int mainOfTesseract(const char* langString, const char*imageString, const char* outputString, const char* datapathString) ;
int pixsOfOneWord(const char* langString, const char*imageString, Pix *outputData, const char* datapathString);
int main();
};
#endif