Or may be my I have not mapped cluts of image correctly to map alpha
channels
130 for ( i = 0; i < h; i++)
131 {
132 ppixel = data + i * wpl;
133 for (j = 0; j < w; j++)
134 {
135 index = indata[i * w + (j)];
136 composeRGBPixel(palette[index].red,
palette[index].green,palette[index].blue, ppixel);
137 SET_DATA_BYTE(ppixel,
L_ALPHA_CHANNEL,alpha[index]);
138 ppixel++;
139 }
140 }
On Wednesday, August 12, 2015 at 8:23:47 PM UTC+5:30, Anshul Maheshwari
wrote:
>
> Hi
>
> I am trying to detect character from attached image, but I am unable to
> detect it using tesseract.
>
> Tesseract detects fine when there is lot of data, but when there is very
> less data means only 2 or 3 words it fails.
>
> It detects fine in file_5.png but fails for file_0.png and file_6.png
>
> Thanks
> Anshul Maheshwari
>
--
You received this message because you are subscribed to the Google Groups
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tesseract-ocr/b543e9ec-1342-486e-af07-c26ff9c72902%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.