예제 #1
0
        private void GrabImageAndSend()
        {
            ImageClient.OpenConnection();
            Capture = new VideoCapture();
            var frame = new Mat();

            Capture.ImageGrabbed += (s, ex) =>
            {
                Capture.Read(frame);
                ImageClient.Send(frame.Bitmap);
            };
            Capture.Start();
        }