问题
所以我使用的是kinect工具箱(来源:http://kinecttoolbox.codeplex.com/),想要检测除圆形以外的其他形状。但是我找不到如何制作'CircleKB.save'类型文件(由此工具箱使用)用于任何其他形状的方法,因为我不知道这个圈知识库文件中的内容或它是如何制作的。 或者只是告诉我如何在此工具箱中添加自定义手势。
答案 0 :(得分:0)
您应该像这样编辑“Learningmachine.cs”:
public void AddPath(RecordedPath path)
{
path.CloseAndPrepare();
Paths.Add(path);
SaveTheGestureInFile();
}
public void SaveTheGestureInFile()
{
using (Stream recordStream = File.Create(@"D:\Research\Kinect Toolbox\Sources\GesturesViewer\Data\abc.save")) //wherever you want to save the file.
{
Persist(recordStream);
}
}