title: Using Tesseract ocr in C# Project
body: <p>I have downloaded <code>tesseract</code> from <a href="http://code.google.com/p/tesseractdotnet/downloads/detail?name=TesseractEngine3DotNetWrapper_RC2%20_r552.zip" rel="nofollow">Here</a>. When i tried to add the <code>dll</code> file to visual studio 2012, its showing error that its not an valid assembly. Can anyone suggest me some other <code>dll</code> file of <code>ocr</code> and sample coding. I've tried many websites but i dint found any good one.  Then i found this <code>dll</code> file <a href="http://tmp.m4f.eu/tessnet2.zip" rel="nofollow">tessrect</a> and used the following code </p>
  
  <pre><code>string path = @"C:\pic\mytext.jpg";
  Bitmap image = new Bitmap(path);
  Tesseract ocr = new Tesseract();
  ocr.SetVariable("tessedit_char_whitelist", "0123456789"); // If digit only
  ocr.Init(@"C:\tessdata\", "eng", false); // To use correct tessdata
  List&lt;tessnet2.Word&gt; result = ocr.DoOCR(image, Rectangle.Empty);
  foreach (tessnet2.Word word in result)
  Console.WriteLine("{0} : {1}", word.Confidence, word.Text);
  </code></pre>
  
  <p>But visual studio throwing error that its not valid assembly. can anyone help me in this ...</p>
  
  <p>EDIT : Frameworks in properties folder only
   Thanks n advance</p>