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;
        }
Exemplo n.º 3
0
 public ImageSource DepthFrameToImageSource(DepthFrame frame)
 {
     return imageProcessor.ImageToImageSource(frame);
 }