Esempio n. 1
0
        public void AddTemplate(Skeleton skeleton)
        {
            RecordedPath recordedPath = new RecordedPath(skeleton.Joints.Count);

            recordedPath.Points.AddRange(skeleton.Joints.ToListOfVector2());

            LearningMachine.AddPath(recordedPath);
        }
Esempio n. 2
0
        public void AddTemplate(ReplaySkeletonData skeleton)
        {
            RecordedPath recordedPath = new RecordedPath(skeleton.Joints.Count);

            recordedPath.Points.AddRange(skeleton.Joints.ToListOfVector2());

            LearningMachine.AddPath(recordedPath);
        }
Esempio n. 3
0
 public void AddPath(RecordedPath path)
 {
     path.CloseAndPrepare();
     Paths.Add(path);
 }
Esempio n. 4
0
 public void EndRecordTemplate()
 {
     LearningMachine.AddPath(path);
     path = null;
 }
Esempio n. 5
0
 public void StartRecordTemplate()
 {
     path = new RecordedPath(WindowSize);
 }
Esempio n. 6
0
 public void AddPath(RecordedPath path)
 {
     path.CloseAndPrepare();
     Paths.Add(path);
     SaveTheGestureInFile();
 }
Esempio n. 7
0
 public void AddPath(RecordedPath path)
 {
     path.CloseAndPrepare();
     Paths.Add(path);
     SaveTheGestureInFile();
 }
 public void EndRecordTemplate()
 {
     LearningMachine.AddPath(path);
     path = null;
 }
 public void StartRecordTemplate()
 {
     path = new RecordedPath(WindowSize);
 }
Esempio n. 10
0
 public void AddPath(RecordedPath path)
 {
     path.CloseAndPrepare();
     Paths.Add(path);
 }