使用kinect在C ++中获取2个手势 [英] Using kinect to pick up 2 hand gestures in C++

查看:112
本文介绍了使用kinect在C ++中获取2个手势的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我是
我正在尝试构建一个只接受Kinect手动输入的程序



我需要获得3件事,

-带有OpenGL输出数据的kinect深度视频流在其上面b
- 只识别2个简单的手势,张开的手和闭合的拳头,解决它归结为布尔形式

-left和右手位置,如果可能超过2手,那就太棒了。

Hello,
I am trying to build a program that takes just the hand inputs from Kinect

I need acquire 3 things,
-the streaming of kinect depth video with OpenGL output data on top of it
-recognition of just 2 simple hand gestures, open hand and closed fist, solve it down to Boolean form
-left and right hand positions, if possible to do more than 2 hands, that would be great

基本上用kinect中的打开和关闭手部动作进行单击并拖动鼠标操作,让我们从一只手开始,如果可以做超过2只手,我将在稍后学习。

Basically to do a click and drag mouse operation with open and close hand motion in kinect, let's start with just one hand, if it's possible to do more than 2 hands, I will learn that later.

从我到目前为止所读到的内容,Kinect可以轻松地完成这项工作而无需任何额外的库,因此我应该能够使用Kinect库和OpenGL来构建我的应用程序。 b $ b

我听说网上有很多这样的例子,但到目前为止我发现的只有C#,而不是C ++,我程序的其他组件如果可能的话,我只想使用C ++,我希望继续使用C ++。

From what I have read so far, Kinect could do this easily without any extra libraries, so I should be able to build my application with just Kinect library and OpenGL

I heard there are tons of examples for this online, but all I found so far are in C#, not C++, the other components for my program are only in C++ and I want to stay with C++ if possible.

推荐答案

手状态不是Kinect核心库或SDK的一部分。该工具包提供了一个Interactions库,可以为您提供一些信息。 Kinect本身不知道可视化或使用特定框架,因此您如何可视化
数据将取决于您。

Hand states are not part of the Kinect core library or SDK. The toolkit provides an Interactions library that can get you some of that information. Kinect itself doesn't know about visualizing or using a particular framework, so how you would visualize the data would be up to you.

查看交互中的交互示例Toolkit浏览器可能是您正在寻找的东西的开始。

Have a look at the Interactions samples in the Toolkit browser that might be a start for what you are looking for.


这篇关于使用kinect在C ++中获取2个手势的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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