Esempio n. 1
0
        private void StartPlayback()
        {
            isShowingSavedFrame = true;

            if (playerSource.Status == PointCloudPlayerStatus.NotLoaded)
            {
                playerSource.Load("Recording/", "frame*.mfx", "Recording/kinectaudio.wav");
            }
            playerSource.Play();
        }
Esempio n. 2
0
        private void StartPlayback()
        {
            StopSensor();

            if (playerSource.Status == PointCloudPlayerStatus.NotLoaded)
            {
                string filename = System.IO.Path.Combine(Settings.RecordingsDirectory, _currentFilename);
                playerSource.Load(filename);
            }
            txtFileFPS.Text = playerSource.FileFPS.ToString("F2");
            playerSource.Play();
        }
Esempio n. 3
0
        private void InitSerializer()
        {
            serializer = new DepthCodeMotionFrameSerializer();
            serializer.JpegCompression    = 60;
            serializer.UsersOnly          = false;
            serializer.DownSize640to320   = false;
            serializer.IncludeUserFrame   = true;
            serializer.CompressionQuality = InfoStrat.MotionFx.PointCloud.CompressionQuality.High;

            playerSource = new PointCloudPlayerSource(serializer);
            playerSource.MotionFrameAvailable += new EventHandler <MotionFrameAvailableEventArgs>(playerSource_MotionFrameAvailable);

            playerSource.Load("Recording/", "frame*.mfx", "Recording/kinectaudio.wav");
        }