void LoadLetterTPostureDetector() { using (Stream recordStream = File.Open(letterT_KBPath, FileMode.OpenOrCreate)) { templatePostureDetector = new TemplatedPostureDetector("T", recordStream); templatePostureDetector.PostureDetected += templatePostureDetector_PostureDetected; } }
void LoadLetterTPostureDetector() { Stream recordStream = File.Open(letterT_KBPath, FileMode.OpenOrCreate); templatePostureDetector = new TemplatedPostureDetector("T", recordStream); templatePostureDetector.PostureDetected += templatePostureDetector_PostureDetected; postures.ItemsSource = templatePostureDetector.LearningMachine.Paths; }