Ejemplo n.º 1
0
 public RecognitionEngine(KinectData kinect, TrackingEngine trackingEngine)
 {
     _featureDetector = new BodyFeatureDetector();
     _recognizer      = new Recognizer();
     _kinect          = kinect;
     _trackingEngine  = trackingEngine;
     _recognizer.RecognitionCompletedEvent += _recognizer_RecognitionCompletedEvent;
     _recognizer.TrainingCompletedEvent    += _recognizer_TrainingCompletedEvent;
 }
Ejemplo n.º 2
0
 public RecognitionEngine(KinectData kinect, TrackingEngine trackingEngine)
 {
     _featureDetector = new BodyFeatureDetector();
     _recognizer = new Recognizer();
     _kinect = kinect;
     _trackingEngine = trackingEngine;
     _recognizer.RecognitionCompletedEvent += _recognizer_RecognitionCompletedEvent;
     _recognizer.TrainingCompletedEvent += _recognizer_TrainingCompletedEvent;
 }