Пример #1
0
 private void button5_Click(object sender, EventArgs e)
 {
     label1.Text    = "正在识别...";
     label1.Visible = true;
     textBox1.Text  = BaiduHelper.Ocr("E:/syctest/screen/20191020.jpg", LUANGUAGE[languageTag]);
     label1.Visible = false;
 }
Пример #2
0
 public void Ocr()
 {
     label1.Text    = "正在识别...";
     label1.Visible = true;
     textBox1.Text  = BaiduHelper.Ocr(catchBmp, LUANGUAGE[languageTag]);
     label1.Visible = false;
 }