private void InitializeHandTracker()
        {
            var tracker = new HandTracker();

            tracker.Detected += (s, e) =>
            {
                KinectX  = tracker.KinectX;
                KinectY  = tracker.KinectY;
                HandLeft = tracker.ScreenX;
                HandTop  = tracker.ScreenY;
            };

            _gestureDetector.RegisterGesture(tracker);
        }
Beispiel #2
0
        private void InitializeHandTracker()
        {
            var tracker = new HandTracker();
            tracker.Detected += (s, e) =>
            {
                KinectX = tracker.KinectX;
                KinectY = tracker.KinectY;
                HandLeft = tracker.ScreenX;
                HandTop = tracker.ScreenY;
            };

            _gestureDetector.RegisterGesture(tracker);
        }