private void Btn_orc_Click(object sender, EventArgs e) { var text = OCRHelper.Ocr((Bitmap)this.picBox.Image); Console.WriteLine(text); MessageBox.Show(text); }
private void Btn_ocr_Click(object sender, EventArgs e) { var text = OCRHelper.Ocr(this.picSrc.GetFirstRegionRect()); this.tb_ocrResult.Text = text; }