void LoadLetterTPostureDetector()
 {
     using (Stream recordStream = File.Open(letterT_KBPath, FileMode.OpenOrCreate))
     {
         templatePostureDetector = new TemplatedPostureDetector("T", recordStream);
         templatePostureDetector.PostureDetected += templatePostureDetector_PostureDetected;
     }
 }
示例#2
0
        void LoadLetterTPostureDetector()
        {
            using (Stream recordStream = File.Open(letterT_KBPath, FileMode.OpenOrCreate))
            {
                templatePostureDetector = new TemplatedPostureDetector("T", recordStream);
                templatePostureDetector.PostureDetected += templatePostureDetector_PostureDetected;

                postures.ItemsSource = templatePostureDetector.LearningMachine.Paths;
            }
        }