将SDK1.8移植到SDK 2.0程序 [英] Porting SDK1.8 to SDK 2.0 programs

查看:60
本文介绍了将SDK1.8移植到SDK 2.0程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将SDK 1.8至2.0构建的程序移植到最佳方式是什么。或者在那里?我有kinect 2,我想使用我为旧kinect为新Kinect 2构建的程序。

Whats the best way to port programs built with the SDK 1.8 to 2.0. or is there? I have the kinect 2 and I want to use the programs I built for the old kinect with the new Kinect 2.

推荐答案

我的程序S.A.R.A.H. (http://sarah.encausse.net)我在PluginManager周围重写了代码。

For my program S.A.R.A.H. (http://sarah.encausse.net) I rewrite the code around a PluginManager.

- 我有一个Project" plugin" for Kinect 1

- 和另一个项目"插件"对于Kinect 2

- I have a Project "plugin" for Kinect 1
- And an other project "plugin" for Kinect 2

所以我可以处理隐藏在"插件"背后的Kinect。层

So I could handle both Kinect hidden behind a "plugin" layer

小心陷阱:

- 你有多个Kinect 1但只有一个Kinect 2

- Skeleton已经改变在1和2之间,所以我做了一个小包装来抽象关节值  b
- 语音运作良好,但我必须挖掘新的酷功能不能说更多的atm

- You have multiple Kinect 1 but only one Kinect 2
- Skeleton has changed between 1 and 2 so I made a little wrapper to abstract joints values 
- Speech is working well, but I have to dig in new cool features can't say more atm

为什么有2个项目?因为SDK之间有许多小细节不相同所以我更喜欢把事情分开。

Why 2 projects ? because there is many little details not working the same between SDK so I prefere to keep things separated.


这篇关于将SDK1.8移植到SDK 2.0程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆