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()
{
InitializeComponent();
const string language = "spa";
const string TessractData = @"C:\tessdata\";
string text;
TesseractProcessor processor = new TesseractProcessor();
Image img = Image.FromFile(@"C:\Users\*mi_pc*
\Desktop\letras.jpg");
bool succeed = processor.Init(TessractData, language, 3);
if (succeed)
{
text = processor.Apply(img);
label1.Text = "Entre";
textBox1.AppendText(text);
}
else {
label1.Text = "Hubo un error. Esto no anda";
}
}
I'm sorry if this isn't the right place to post it but i really don't know
what to do to make it works!
I'll really appreciate your help! Thanks a Lot!
--
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en