Re: Create Pix from HBITMAP

2013-01-08 Thread newbie
BTW, I just have one more question regarding the pixCreate. Is it default set the bitmap resolution to 300 DPI even though I create the pix* from the bmp with 96 DPI? I saved the tiff file to disk and see it has 300 DPI. But if I manually set the xRes & yRes to 96, then it has 96 DPI of resolut

Re: Create Pix from HBITMAP

2013-01-08 Thread newbie
Thanks for your reply. The root cause seems to be the refCount. I just simply increase the refCount, then I can call pixDestroy without problem. On Wednesday, January 9, 2013 12:34:09 AM UTC+7, TP wrote: > > On Mon, Jan 7, 2013 at 8:47 PM, newbie > > wrote: > > I have created the Pix using pi

Re: Training Tesseract for single digit

2013-01-08 Thread Zdenko Podobný
On 08.01.2013 17:13, sunitha raghurajan wrote: I am using Tesseract to read license plate. The tesseract is giving wrong output for digit six. My question is, Can I train the tesseract for single digit 'six'. Any help truly appreciated. Can you post a example of image (with digit 6) that you tr

Re: Create Pix from HBITMAP

2013-01-08 Thread TP
On Mon, Jan 7, 2013 at 8:47 PM, newbie wrote: > I have created the Pix using pixCreate,pixSetData, pixEndianByteSwap. > However, when I call pixDestroy, it crashed. Do you know what I am doing > wrong? Is there any restriction for pixCreate? Noted that Only the pix was > created by pixCreate crash

Re: Training Tesseract for single digit

2013-01-08 Thread David Peter Lisin Crespo
Good afternoon Sunitha, even trying the single digit with -psm 10 digits option also fails? 2013/1/8 sunitha raghurajan > Tesseract -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to tesseract-ocr@google

Training Tesseract for single digit

2013-01-08 Thread sunitha raghurajan
I am using Tesseract to read license plate. The tesseract is giving wrong output for digit six. My question is, Can I train the tesseract for single digit 'six'. Any help truly appreciated. -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To po

processor.Init() error.

2013-01-08 Thread Jorge Nicolás Nogueiras
Hi, I've compiled the dll to include it into a C#.net program. The issue is that the processor never begins. It always gave my an error or just return false. I've searching through internet and try almost everything i've founded. This's my code: public pantallaPrincipal() {

Training Tesseract for a single digit

2013-01-08 Thread sunitha raghurajan
I am having issues with Tesseract for reading digits especially digit six. My question is, can I use train tesseract for just for digit six? Any help greatly appreciated. Thanks in advance, ~sunitha -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" g

Re: Bank Card Embossing Characters Recongnition

2013-01-08 Thread Guanghua Zhou
Dear Neo Song, Did you apply any revision on SWT, and how? I tried the algorithm for your image sample 1.jpg and 2.jpg, the output image lost most of the digits' contour, how could you use it for OCR input? The attachments are the result images I got by the SWT implementation you provided (h

Re: Passing Iplimage to OCR

2013-01-08 Thread flavie . lancereau
I dont know if it could help you : here it is an old part of my code wich use iplimage in tesseract. I remember it take me time to find correct values. char* text = TessBaseAPI::TesseractRect((unsigned char*)img->imageData,img->depth/8,img->widthStep,0,0,img->width,img->height); Le mercredi 2

Re: Passing Iplimage to OCR

2013-01-08 Thread flavie . lancereau
Here is an part of an old code wich use an iplimge in tesseract api : char* text = TessBaseAPI::TesseractRect((unsigned char*)img->imageData,img->depth/8,img->widthStep,0,0,img->width,img->height); maybe it can help you Le mercredi 2 janvier 2013 07:39:40 UTC+1, Dev a écrit : > > Hello, > > I am