private void TrackingCameraThread()
 {
     trackingCamera = new TrackingCamera(cameraThread.Name, ImageSize, controlForm);
     trackingCamera.ImageDestination = videoPictureBox;
     trackingCamera.Start();
     timer.Enabled = true;
 }
예제 #2
0
 private void TrackingCameraThread()
 {
     trackingCamera = new TrackingCamera(cameraThread.Name, ImageSize, controlForm);
     trackingCamera.ImageDestination = videoPictureBox;
     trackingCamera.Start();
     timer.Enabled = true;
 }
예제 #3
0
        private void timer_Tick(object sender, EventArgs e)
        {
            TrackingCamera trackingCamera = VideoForms[0].TrackingCamera;

            if (trackingCamera != null)
            {
                label2.Text = string.Format("{0} FPS. ({1}, {2})", trackingCamera.FrameRate / timer.Interval * 1000, trackingCamera.Position.U, trackingCamera.Position.V);
            }
        }