public void AddTemplate(Skeleton skeleton) { RecordedPath recordedPath = new RecordedPath(skeleton.Joints.Count); recordedPath.Points.AddRange(skeleton.Joints.ToListOfVector2()); LearningMachine.AddPath(recordedPath); }
public void AddTemplate(ReplaySkeletonData skeleton) { RecordedPath recordedPath = new RecordedPath(skeleton.Joints.Count); recordedPath.Points.AddRange(skeleton.Joints.ToListOfVector2()); LearningMachine.AddPath(recordedPath); }
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); }
public void AddPath(RecordedPath path) { path.CloseAndPrepare(); Paths.Add(path); SaveTheGestureInFile(); }