This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace Utils | |
| { | |
| public struct Option<T> | |
| { | |
| public T Value { get; set; } | |
| public bool HasValue { get; set; } | |
| private Option(T value, bool hasValue) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // usage: | |
| // | |
| // TesseractOCR ocr = TesseractOCR(@"C:\bin\tesseract.exe"); | |
| // string result = ocr.OCRFromBitmap(bmp); | |
| // textBox1.Text = result; | |
| // | |
| using System; | |
| using System.IO; | |
| using System.Diagnostics; | |
| using System.Drawing; |