public KinectBase(Kinect k) { this.Kinect = k; this.Kinect.NewSpeechRecognizedResult += new KinectLib.Kinect.NewSpeechRecognizedResultDelegate(Kinect_NewSpeechRecognizedResult); this.Kinect.NewDepthFrame += new KinectLib.Kinect.DepthFrameReadyDelegate(Kinect_NewDepthFrame); this.Kinect.NewSkeletonFrame += new KinectLib.Kinect.SkeletonFrameReadyDelegate(Kinect_NewSkeletonFrame); this.Kinect.NewVideoFrame += new KinectLib.Kinect.VideoFrameReadyDelegate(Kinect_NewVideoFrame); this.Kinect.NewRecordedAudio += new KinectLib.Kinect.AudioStreamRecorded(Kinect_NewRecordedAudio); }
public KinectAudioRecorder(Kinect k, string fileName, int recordingTime) : base(k) { this.FileName = fileName; this.AudioFile = new FileStream(this.FileName, FileMode.Create); this.RecordingTime = recordingTime; this.RecordingLength = this.RecordingTime * 2 * 16000; this.TotalCount = 0; this.writeWAVHeader(); this.Start = true; }
public MemoryStorage(Kinect k, StorageOptions options) : base(k, options) { if (this.Options.StoreSkeleton) { this.SkeletonFrames = new ConcurrentQueue<SkeletonFrame>(); } if (this.Options.StoreDepth) { this.DepthImages = new ConcurrentQueue<DepthImageFrame>(); } if (this.Options.StoreColor) { this.ColorImages = new ConcurrentQueue<ImageFrame>(); } }
public CompressedKinect(Kinect k) : base(k) { }
public BitmapGenerator(Kinect k) : base(k) { }
public KinectStorage(Kinect k, StorageOptions options) : base(k) { this.Options = options; }