Code detail below, where you can provide path of image and get text or other text/number details from image
tessnet2 is a .net wrapper for tessnet, it's easy to implement.
static void Main(string[] args) {
try {
string Results = "";
var image = new Bitmap(@
"D:\IMG1\RED1\A1.jpg");
var ocr = new Tesseract();
ocr.SetVariable("tessedit_char_whitelist", "$.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"); // If digit only
ocr.Init(@
"C:\Users\3132415\Downloads\How to use Tessnet2 library\c#\C#\tessdata", "eng", true);
var result = ocr.DoOCR(image, Rectangle.Empty);
foreach(Word word in result)
Results += word.Confidence + ", " + word.Text + ", " + word.Left + ", " + word.Top + ", " + word.Bottom + ", " + word.Right + "\n";
//Console.WriteLine("{0} : {1}", word.Confidence, word.Text);
Console.WriteLine("{0}", Results);
Console.ReadLine();
} catch (Exception exception) {}