大家好,我OCR Tesseract
对 C# (tessnet2) 有问题,它找到了字符 IVI 而不是“M”,你能帮我吗?
tessnet2.Tesseract ocr = new tessnet2.Tesseract();
ocr.SetVariable("tessedit_char_whitelist", "ABCDEFGHIJKLMNOPQRSTUVWXYZ"); // If digit only
ocr.Init(@"C:\tresnet", "fra", false); // To use correct tessdata
List<tessnet2.Word> result = ocr.DoOCR(imgSortie, Rectangle.Empty);
String ListeLettres= "";
foreach (tessnet2.Word word in result)
ListeLettres= ListeLettres + word.Text;