示例#1
0
        private KinectHandler()
        {
            SensorChooser = new KinectSensorChooser();
            SensorChooser.KinectChanged += SensorChooserOnKinectChanged;


            SensorChooser.Start();

            KinectGestureGenerator = new GestureGenerator();
            KinectGestureGenerator.GestureRecognized += KinectGestureGenerator_GestureRecognized;
            SensorChooser.Kinect.SkeletonFrameReady  += Kinect_SkeletonFrameReady;

            Webserver = WebSocketsHandler.Instance();

            Webserver.Register(this);
        }