Im new to Tesseract-OCR.
Add "system("tesseract_path/tesseract image_file output_file");" at
the end
of you C program should be the easiest way.
You can also add you C program into Tesseract-OCR. Just write the
pixel data
of you segmented image into the buffer of tesseract.
On 9月29日, 下午3时18分, "Svetlin Nakov" <
svet...@nakov.com> wrote:
> You have the entire source code. You can modify it to fit your needs.
>
> I usually take the tessearct source code as base and remove anything I don't
> need and write additional functionality in its main method.
>
> Svetlin Nakov
> Managing Partner
> Consulting and Information Technology Agencyhttp://
www.citagency.eu
>
>
>
> -----Original Message-----
> From:
tesser...@googlegroups.com [mailto:
tesser...@googlegroups.com]
>
> On Behalf Of Tenzin Dendup
> Sent: Tuesday, September 29, 2009 9:26 AM
> To:
tesser...@googlegroups.com
> Subject: Using tesseract-ocr from c/c++ programs
>
> Hi,
>
> I have trained characters of language in tesseract and i have also
> written a simple program in C to do segmentation. Once the
> segmentation is done, how can i use tesseract-ocr from within my c
> program to do recognition. Do I have to run the tesseract command from
> within C or is there some other way? I am using tesseract-ocr 2.04 on
> Debian GNU/Linux.
>
> --Tenzin- 隐藏被引用文字 -
>
> - 显示引用的文字 -