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

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

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

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

            LearningMachine.AddPath(recordedPath);
        }
Beispiel #3
0
 public void AddPath(RecordedPath path)
 {
     path.CloseAndPrepare();
     Paths.Add(path);
 }
 public void EndRecordTemplate()
 {
     LearningMachine.AddPath(path);
     path = null;
 }
 public void StartRecordTemplate()
 {
     path = new RecordedPath(WindowSize);
 }
Beispiel #6
0
 public void AddPath(RecordedPath path)
 {
     path.CloseAndPrepare();
     Paths.Add(path);
     SaveTheGestureInFile();
 }
Beispiel #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);
 }
Beispiel #10
0
 public void AddPath(RecordedPath path)
 {
     path.CloseAndPrepare();
     Paths.Add(path);
 }