private void InitializeJediTracking()
        {
            RemoveGeustureRecognizerIfNeeded();
            _jediGeustureRecognizer = new JediGestureRecognizer(_sensor);

            _jediGeustureRecognizer.ForceApplying += JediForceApplying;
            _jediGeustureRecognizer.ForceDispel   += JediForceDispel;
            _isSpheroGrabed = true;
        }
        private void InitializeSceen()
        {
            _sensor = KinectSensor.GetDefault();
            _sensor.Open();

            FrameDescription colorFrameDescription = _sensor.ColorFrameSource.CreateFrameDescription(ColorImageFormat.Bgra);

            // create the bitmap to display
            this._colorBitmap = new WriteableBitmap(colorFrameDescription.Width, colorFrameDescription.Height, 96.0, 96.0, PixelFormats.Bgr32, null);


            _jedi = new JediGestureRecognizer(_sensor);
            _jedi.ForceApplying += ForceApplying;
            _jedi.ForceDispel   += ForceDispel;

            _frameReader = _sensor.OpenMultiSourceFrameReader(FrameSourceTypes.Body | FrameSourceTypes.Depth | FrameSourceTypes.Color);

            _frameReader.MultiSourceFrameArrived += MultiSourceFrameArrived;
        }