Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 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>();
     }
 }
Ejemplo n.º 4
0
 public CompressedKinect(Kinect k)
     : base(k)
 {
 }
Ejemplo n.º 5
0
 public BitmapGenerator(Kinect k)
     : base(k)
 {
 }
Ejemplo n.º 6
0
 public KinectStorage(Kinect k, StorageOptions options)
     : base(k)
 {
     this.Options = options;
 }