示例#1
0
        private void SkeletonFrameReady(Skeleton skel)
        {
            if (skel == null || lastVideo == null || lastDepth == null)
            {
                return;
            }

            frameHistory.Push(EntropyMonitor.ToVectorList(skel));
            frames.Add(Preprocessor.Preprocess(skel, lastVideo, lastDepth));
            ProcessEntropy();
        }
示例#2
0
 protected SequenceRecorder(EntropyMonitor entropyMonitor)
 {
     this.entropyMonitor = entropyMonitor;
     frameHistory        = new Stack <List <Vector3D> >();
     frames = new List <PreprocessedFrame>();
 }