i found my problem it was the use of opencv buffer
so if people want to use opencv then tesseract you can use buffer as
follow :
text = TessBaseAPI::TesseractRect((unsigned char*)img->imageData,img-
>depth/8,img->widthStep,0,0,img->width,img->height);
text = TessBaseAPI::TesseractRectBoxes((unsigned char*)img-
>imageData,img->depth/8,img->widthStep,0,0,img->width,img->height,img-
>height);
where img is an IplImage for opencv
did someone know how to mask output error : "Using substitute bounding
box at ..." ?
On 1 nov, 11:11, flavie lancereau <
lancereau.fla...@gmail.com> wrote:
> i do a threshold too before calling tesserac but this can be my problem
> thank you. I will try to add otsu threshold in my program (i have see that
> tesseract use that threshold)
>
> 2009/10/31 rthomas <
remi.tho...@gmail.com>