Esempio n. 1
0
        public void DoToggleAnnotate(bool annotate)
        {
            Camera.Annotate = annotate;
            ConsoleService.Write("Annotate: " + annotate);

            // reload image
            if (Camera.Design)
            {
                TrackerService.Start();
            }
        }
Esempio n. 2
0
 public void DoToggleTracking(bool enabled)
 {
     if (enabled)
     {
         if (CameraService.Enabled)
         {
             CameraService.Stop();
         }
         Camera.Tracking = TrackerService.Start();
     }
     else
     {
         Camera.Tracking = TrackerService.Stop();
         if (Camera.ShowImage)
         {
             CameraService.Start();
         }
     }
     ConsoleService.Write("Tracking: " + enabled);
 }