kinect

How to install Openni in Windows and Visual Studio 2010?

别说谁变了你拦得住时间么 提交于 2019-12-02 10:16:10
问题 I would like to use this code to kinect with Kinect because my codings are all in c++, and I realize that I would need openni. VideoCapture capture( CV_CAP_OPENNI ); The problem is, I cannot find the latest guide installment for openni. When I do find some good guides, the links are dead. Can Anyone give me links for good openni installation in windows and in visual studio 2010? I would be very grateful. 回答1: VideoCapture capture( CV_CAP_OPENNI ); sounds like your using OpenCV built with

Kinect: How do i ID the first tracked skeleton and do stuff with it after

人走茶凉 提交于 2019-12-02 07:58:21
How can i ID the first skeleton the kinect tracked and then do stuff with it. Im only interested in the first skeleton and whichever comes after i do not need them. Preferably the next skeleton that comes in is not tracked at all. Can someone help me with this thanks. Currently the code below im using does not work. I have tried some quick linq query but im not very sure how to use it. Always having errors with it. Can someone give me some examples i can work with thanks in advance!! private void SensorSkeletonFrameReady(object sender, SkeletonFrameReadyEventArgs e) { Skeleton[] skeletons =

How to install Openni in Windows and Visual Studio 2010?

依然范特西╮ 提交于 2019-12-02 07:27:25
I would like to use this code to kinect with Kinect because my codings are all in c++, and I realize that I would need openni. VideoCapture capture( CV_CAP_OPENNI ); The problem is, I cannot find the latest guide installment for openni. When I do find some good guides, the links are dead. Can Anyone give me links for good openni installation in windows and in visual studio 2010? I would be very grateful. George Profenza VideoCapture capture( CV_CAP_OPENNI ); sounds like your using OpenCV built with OpenNI support. I recommend installing OpenNI first. Version 1.5.4.0 which you can find here

Hand over button event in Kinect SDK 1.7

人走茶凉 提交于 2019-12-02 04:33:49
I am creating a WPF application using Kinect SDK 1.7 and I need to count how many times user place hand over the button (not push, just place over). I found only an event responsible for pushing the button in XAML <k:KinectTileButton Label="Click" Click="PushButtonEvent"></k:KinectTileButton> I can't find which event is responsible for placing hand over the button (if this event exists). Maybe you've got some idea which event would do that? Or how to resolve this problem in another way? The KinectTileButton supports the follow events for the hand cursor, which can be subscribed to and acted

OpenCV OpenNI calibrate kinect

萝らか妹 提交于 2019-12-02 01:20:47
I use home to capture by kinect: capture.retrieve( depthMap, CV_CAP_OPENNI_DEPTH_MAP ) capture.retrieve( bgrImage, CV_CAP_OPENNI_BGR_IMAGE ) Now I don't know if I have to calibrate kinect to have depth pixel value correct. That is, if I take a pixel (u, v) from the image RBG, get the correct value of depth taking the pixels (u, v) from the image depth? depthMap.at<uchar>(u,v) Any help is much appreciated. Thanks! You can check if registration is on like so: cout << "REGISTRATION " << capture.get( CV_CAP_PROP_OPENNI_REGISTRATION ) << endl; and if it's not, set it like so: capture.set(CV_CAP

Kinect / Primesense (Xtion) ROS Ubuntu through Virtual Machine (VMware)

你说的曾经没有我的故事 提交于 2019-12-02 00:43:27
问题 Since it took me quite some time to figure out how to get Xtion (Primesense) to work on VMware I thought to share it here with you. (with Kinect I have a problem to let ROS see the device even though VMware has successfully connected it). roslaunch openni2_launch openni2.launch Running the above command gave me the error: Warning: USB events thread - failed to set priority. This might cause loss of data... I either got a single frame or no frame when running "rviz" and Add --> Image --> Image

Kinect gives a “NotReady” status in .Net samples works in C++ samples

北城以北 提交于 2019-12-01 23:29:38
问题 I'm trying to use the Kinect SDK v1 with an Xbox Kinect sensor. I installed the SDK on my dev machine and I launched the samples. The C# samples do not work, I either get "oops there was an error" or a "NotReady" status and FPS is stuck at -1. At first I thought this was a problem with the device itself, so I tried installing the SDK on my laptop and the samples work on that fine, both the C# and C++. So the kinect device itself is ok. I've reinstalled the SDK on my development machine, and I

使用HTML5开发Kinect体感游戏

最后都变了- 提交于 2019-12-01 17:32:18
https://tgideas.qq.com/webplat/info/news_version3/804/7104/7106/m5723/201612/538908.shtml 一、简介 我们要做的是怎样一款游戏?   在前不久成都TGC2016展会上,我们开发了一款《火影忍者手游》的体感游戏,主要模拟手游章节《九尾袭来 》,用户化身四代,与九尾进行对决,吸引了大量玩家参与。 表面上看,这款游戏与其它体感体验无异,实际上,它一直运行于浏览器Chrome下,也就是说,我们只需要掌握前端相应技术,就可以开发基于Kinect的网页体感游戏。 二、实现原理 实现思路是什么?   使用H5开发基于Kinect的体感游戏,其实工作原理很简单,由Kinect采集到玩家及环境数据,比如人体骨骼,使用某种方式,使浏览器可以访问这些数据。 1、采集数据   Kinect有三个镜头,中间镜头类似普通摄像头,获取彩色图像。左右两边镜头则是通过红外线获取深度数据。我们使用微软提供的SDK去读取以下类型数据: 色彩数据:彩色图像; 深度数据:颜色尝试信息; 人体骨骼数据:基于以上数据经计算,获取到人体骨骼数据。 2、使浏览器可访问到Kinect数据 我尝试和了解过的框架,基本上是以socket让浏览器进程与服务器进行通信 ,进行数据传输: Kinect-HTML5 用C#搭建服务端,色彩数据、尝试数据

Kinect v2控制鼠标原理分析和源码

时光总嘲笑我的痴心妄想 提交于 2019-12-01 16:25:31
https://blog.csdn.net/baolinq/article/details/54381284 此程序为利用Kinect v2实现用手指隔空控制鼠标,是我另一个项目的一部分,因为在另外那个项目中鼠标的click是通过一种特殊的方式实现的,因此这个程序只实现了用手控制鼠标的移动,并没有点击的功能。相比Leapmotion,利用Kinect 2.0来控制鼠标可以大幅增加操控范围,使用者可以随意走动,而不是被固定在桌面前。 好像很多人需要这个,但是网上为数不多的代码都是Kinect V1的,所以放出我的代码来供大家讨论,这里放出Kinect v2 控制鼠标的源码。 源码 0积分下载 http://download.csdn.net/detail/baolinq/9736171 运行环境 Kinect for Windows V2 Kinect SDK 2.0 OpenCV 3.0 使用方法 首先需要让Kinect识别出你,建议距离0.5m以上4m以内并且正对摄像头,如果位置合适的话瞬间就能识别出,如果几秒钟都没有识别出来就请调节位置。然后将手放入操作窗口就可以控制鼠标了,绿色的点代表指尖。 效果 原理介绍 指尖识别基础 程序的核心在于指尖识别,我发现网上关于指尖识别的资料不多,所以自己想了个很简单的办法,不过效果还不错。首先应该知道三点: 1.

Kinect一代学习(一):开发环境搭建

…衆ロ難τιáo~ 提交于 2019-12-01 14:17:38
https://blog.csdn.net/hongbin_xu/article/details/80722749 我用的是kinect一代(Xbox 360)的所以选择了v1.x的SDK,如果是kinect二代(Xbox One)的就要选择v2.x的SDK。 Kinect for Windows SDK 1、到微软官网上下载SDK:Kinect for Windows SDK v1.8,下载下来后运行exe文件,等待自动安装结束; 2、到微软官网下载ToolKit:Kinect for Windows Developer Toolkit v1.8,与前面相同,下载完成后运行exe文件,等待自动安装结束即可; 3、前面两个都安装完成后,可以连上Kinect(之前安装时不能接Kinect设备,结束后才可以接上),可以在设备管理器中找到Kinect设备,即表示驱动安装成功; 4、打开“开始-》所有程序-》Kinect for Windows SDK v1.8-》Developer Toolkit Browser v1.8”,可以看到一些开发文档、例程以及一些demo,可以自己运行来玩玩。 在Visual Studio中配置环境 前面的步骤还是很简单的,只需要稍微动动鼠标就能搞定。 如果要使用Visual Studio进行开发,还需要配置include和lib的路径。在项目的属性中找到