示例#1
0
 /// <summary>
 /// Save an array of camera frames
 /// </summary>
 /// <param name="body">The body(ies) we are attempting to track</param>
 private void SaveCameraFrame(Body body)
 {
     if (body != null && this.canTrackBodies && body.IsTracked)
     {
         // Tracking skeleton -- save video to file
         CameraIO.SaveFrame();
     }
     else
     {
         Debug.WriteLine("------STOPPED: No longer tracking-------");
     }
 }
示例#2
0
 /// <summary>
 /// Save an array of camera frames
 /// </summary>
 /// <param name="body">The _body(ies) we are attempting to track</param>
 private void SaveCameraFrame(Body body)
 {
     //if (_body != null && this.bodyTracked && _body.IsTracked)
     if (body != null)
     {
         // Tracking skeleton -- save video to file
         CameraIO.SaveFrame();
         Debug.WriteLine("Saving Frame");
     }
     // TODO: Can probably get rid of this
     else
     {
         //isTracking = false;
         Debug.WriteLine("------STOPPED: No longer tracking-------");
     }
 }