Tech Off Thread

1 post

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

skeletonViewer Kinetic WPF

Back to Forum: Tech Off
  • User profile image

    Hello m8's...

    i downloaded a sample program and see heare using the fallowing components:


     <WpfViewers:KinectColorViewer HorizontalAlignment="Left" 
                                              Grid.Row="1" Grid.Column="0"
                                              Margin="0" VerticalAlignment="Top" Height="480" Width="640" 
            <WpfViewers:KinectSkeletonViewer HorizontalAlignment="Left" 
                                                 Grid.Row="1" Grid.Column="0"
                                                 VerticalAlignment="Top" Height="480" Width="640" x:Name="skeletonViewer" />


    but the fallowing code has problem:


    private void InitKinectSensor()
                // validate
                if (KinectSensor.KinectSensors.Count == 0) return;
                // init Kinect
                var parameters = new TransformSmoothParameters
                                         Smoothing = 0.75f,
                                         Correction = 0.1f,
                                         Prediction = 0.0f,
                                         JitterRadius = 0.05f,
                                         MaxDeviationRadius = 0.08f
                _sensor = KinectSensor.KinectSensors[0];
                colorViewer.Kinect = _sensor;  // Error Here
                skeletonViewer.Kinect = _sensor;   //Error here
                _sensor.SkeletonFrameReady += SensorSkeletonFrameReady;


    You guys can help me?

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.