Exemplo n.º 1
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);
        }
Exemplo n.º 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);
        }