借助ocr将图片中的文本发送到文本框时,文本显示与图片中的相同

While sending the text in the picture to the textbox with the help of the ocr, the text appears the same as in the picture

借助ocr将图片中的文字发送到文本框时,文字显示与图片相同

这张原图

这是richtextbox中图片中文字的打印输出

那我怎么才能把这些字汇成一行呢

我记得我现在写过这个问题,大约1周前,我解决了。感谢每一个答案

  var ocr = new TesseractEngine("./tessdata", "eng");
                        var sonuc = ocr.Process(img);
                        richTextBox1.Text = sonuc.GetText();
                        string[] c = richTextBox1.Text.Split('\n');
                        richTextBox1.Clear();
                        for (int i = 0; i < c.Length; i++)
                        {
                            richTextBox1.Text += c[i] + " ";
                        }