OCR not Recognised on Image

47 views
Skip to first unread message

Harsh Kansara

unread,
May 4, 2015, 3:22:56 PM5/4/15
to tesser...@googlegroups.com
Dear,

I am new to tesseract, can any1 suggest documentation for tessnet (tesseract for .net) for methods and their usage, also i am facing difficulty in processing simple captcha image which is provided in attached file, and below is the code

 if (this.m_image == null || string.IsNullOrEmpty(this.txtLang.Text))
                return;
            this.progressBar1.Value = 0;
            this.lstResult.Items.Clear();
            Tesseract tesseract = new Tesseract();
            tesseract.SetVariable("tessedit_char_whitelist", "0123456789"); // If digit only
            tesseract.Init(this.txtPath.Text, this.txtLang.Text, false);          
            tesseract.ProgressEvent += new Tesseract.ProgressHandler(this.ocr_ProgressEvent);
            tesseract.OcrDone = new Tesseract.OcrDoneHandler(this.Done);
            tesseract.DoOCR(this.m_image, Rectangle.Empty);


please reply


Untitled.jpg
Reply all
Reply to author
Forward
0 new messages