Exemplo n.º 1
0
        private void button6_Click(object sender, EventArgs e)
        {
            Bitmap   bm   = new Bitmap(cv_image);
            Bitmap32 bm32 = new Bitmap32(bm);

            bm32.Grayscale();
            pictureBox2.Image = bm;

            ImageProcessing pr = new ImageProcessing();

            List <char> res = pr.ProcessResults(pictureBox2.Image);

            for (int i = 0; i < 10; i++)
            {
                textBox2.Text += string.Format("{0}) {1} \n", i + 1, res[i]);
            }
        }
Exemplo n.º 2
0
 private void button5_Click(object sender, EventArgs e)
 {
     ImageProcessing pr      = new ImageProcessing();
     List <char>     results = pr.ProcessResults(pictureBox2.Image);
 }