简体   繁体   English

Kinect 4 Windows v2-打开录音

[英]Kinect 4 Windows v2 - Opening recordings

I've recently obtained a Kinect 4 Windows v2 (time of flight camera). 我最近获得了Kinect 4 Windows v2(飞行时间相机)。

The Kinect 4 Windows comes with an SDK and a Kinect Studio. Kinect 4 Windows随附一个SDK和Kinect Studio。 The latter allows for monitoring, recording and playback of the cameras on the Kinect. 后者允许在Kinect上监视,记录和回放摄像机。 I've been able to successful record and playback a handful of videos for my use. 我已经能够成功录制和播放一些视频供我使用。

However, I'm not clear on how to open these recordings in code. 但是,我不清楚如何在代码中打开这些录音。 The Kinect 4 Windows SDK doesn't seem to support opening the specified file type (XEF). Kinect 4 Windows SDK似乎不支持打开指定的文件类型(XEF)。 How would one, in code, open a recording? 用代码怎么会打开录音?

Thanks! 谢谢!

Kinect Studio is a tool that allows you to simulate pre-recorded data on a sensor level. Kinect Studio是一种工具,可让您在传感器级别上模拟预先记录的数据。 Basically, it over-rides the sensor stream - your code that works with the sensor thinks that this is real-time, not pre-recorded data. 基本上,它会覆盖传感器流-与传感器一起使用的代码认为这是实时的,而不是预先记录的数据。 If you think about it, this is a very smart way to do it because you need not to have any special code in your application to test with pre-recorded, static data. 如果您考虑一下,这是一种非常聪明的方法,因为您无需在应用程序中使用任何特殊代码即可对预先记录的静态数据进行测试。

Therefore, these recordings do not open in code. 因此,这些记录不会在代码中打开。 Simply open them in Kinect Studio, click on the Connect button. 只需在Kinect Studio中打开它们,然后单击“连接”按钮。 Then start your application and press Play button in Kinect Studio. 然后启动您的应用程序,然后在Kinect Studio中按“播放”按钮。 Your pre-recorded data will be displayed in your application. 您预先记录的数据将显示在您的应用程序中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM