コード例 #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;
 }
コード例 #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;
 }