Kinect - 2同时具有功能 [英] Kinect - 2 features simultaneously

查看:68
本文介绍了Kinect - 2同时具有功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我试图从Kinect中提取2个特征:

I am trying to extract 2 features from the Kinect :



  1. < p style ="padding-right:0px; font-size:14px; vertical-align:baseline; background-color:transparent; clear:both; word-wrap:break-word">
    Captured video   - 我已成功将kinect用作网络摄像头然后使用DirectShow来捕获vi DEO。
    工作正常。
  1. Captured video - I have succeeded to use the kinect as webcam and then used DirectShow in order to capture the video. Works just fine.


骨架  - 我使用1.7 Kinect SDK,骨架功能很好用!

skeleton - I use the 1.7 Kinect SDK and the skeleton feature works sweet!



问题:   那些
2的功能不能同时工作


它们中的每一个都能很好地工作,但它们只是不能一起工作。我还尝试在Skype的视频设置部分检查捕获的视频,同时在"Kinect for Windows Developer Toolkit 1.7"中运行Skeleton Basics

The Problem: Those 2 features don't work simultaneously
Each one of them works great by itself, but they just don't work together. I have also tried checking the captured video in Skype's video settings section, while running the Skeleton Basics in the "Kinect for Windows Developer Toolkit 1.7"


你知道为什么会发生这种情况吗?如何解决这个问题并同时享受这2个功能?

Do you know why that happens and how can I fix that problem and enjoy the 2 features simultaneously?


谢谢很多,盖伊。

Thanks a lot, Guy.

推荐答案

如果你使用Kinect SDK同时进行彩色图像和seleton捕获,那么两个流(ColorImageStream)和SkeletonStream)同时工作。  Kinect for Windows Developer Kit中的Kinect Explorer示例应用程序演示了
this。 一旦识别出骨架,它就会在彩色图像帧上显示为叠加层。 在您的应用程序中,启用两个流(当然还有深度)并在AllFramesReady事件处理程序中捕获两种类型的框架。

If you use the Kinect SDK for both color image and seleton capture, then the two streams (ColorImageStream and SkeletonStream) do work simultaneously.  The Kinect Explorer sample application in the Kinect for Windows Developer Kit demonstrates this.  Once a skeleton is recognized, it appears as an overlay on the color image frames.  In your application, enable both streams (plus depth, of course) and catch both types of frames inside an AllFramesReady event handler.


这篇关于Kinect - 2同时具有功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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