public FrameUpdatedEventArgs(DepthFrame frame, List<HandSession> sessions)
 {
     this.Frame = frame;
     this.HandSessions = sessions;
 }
        public FrameUpdatedEventArgs(ushort[] depthPixels, int width, int height, IEnumerable<HandSession> sessions)
        {
            Frame = new DepthFrame(depthPixels, width, height);

            this.HandSessions = sessions;
        }
Пример #3
0
 public ImageSource DepthFrameToImageSource(DepthFrame frame)
 {
     return imageProcessor.ImageToImageSource(frame);
 }