kinect

Kinect 1.8 colorframe and depthframe not coordinated

大憨熊 提交于 2020-01-24 10:30:48
问题 My program has a problem with poor coordination between the depth and color images. The player mask is not in the same place as the person (see the picture below). void _AllFreamReady(object sender, AllFramesReadyEventArgs e) { using (ColorImageFrame _colorFrame = e.OpenColorImageFrame()) { if (_colorFrame == null) //jezeli pusta ramka nie rob nic { return; } byte[] _pixels = new byte[_colorFrame.PixelDataLength]; //utworzenie tablicy pixeli dla 1 ramki obrazu o rozmiarach przechwyconej ramki

Kinect fast hand tracking method

一世执手 提交于 2020-01-24 00:48:11
问题 How can I track fast hand movement using kinect? I've tried both Openni and Microsoft sdk to track hand. On both of them, there are lots of jitters and inaccurate movement of joints. Here is an example video of kinect fruit ninja: Example Video On that video, there are no jitters and inaccuracy and also it's tracking the fast hand movements. What am I missing? Is there any kinds of kinect hardware versions or types which I should look into. 回答1: My best guess is that Fruit Ninja applies some

Matlab z buffer for simulating kinect

廉价感情. 提交于 2020-01-21 12:49:31
问题 We are trying to simulate simple kinect output. I have rendered a triangle mesh in Matlab and now I want to get at the depth buffer of the figure/axis where the shape has been rendered. How do I do that in matlab? i.e. how do I access the depth buffer of a figure? 回答1: You could try this. 来源: https://stackoverflow.com/questions/5963193/matlab-z-buffer-for-simulating-kinect

Kinect - Map (x, y) pixel coordinates to “real world” coordinates using depth

萝らか妹 提交于 2020-01-21 02:26:45
问题 I'm working on a project that uses the Kinect and OpenCV to export fintertip coordinates to Flash for use in games and other programs. Currently, our setup works based on color and exports fingertip points to Flash in (x, y, z) format where x and y are in Pixels and z is in Millimeters. But, we want map those (x, y) coordinates to "real world" values, like Millimeters, using that z depth value from within Flash. As I understand, the Kinect 3D depth is obtained via projecting the X-axis along

Kinect painting C#, WPF, SDK Kinect

戏子无情 提交于 2020-01-17 03:49:08
问题 I am new on this site and I really need your help or just a piece of advice guys. Does anyone know how to do or can help me with making a app similar to this one ? Draw smooth line in InkCanvas WPF with Kinect Inline Link or something like that Inline Link I know how to access my Kinect, detect and track each of the joint etc. The only thnig i do not know and with I have problems is that i really do not know how to make a function that will track for example right hand and draw a line on

How to save bmp file from ID2D1Bitmap

限于喜欢 提交于 2020-01-16 11:10:06
问题 I am trying to create the bmp file from the live running video using Kinect. I am developing an application which is running the live video on top of that to place an image. The IDE which I am used is Visual Studio Professional 2010. The code I am developing in C++ using win32. . I want to save the video along with the overlayed image. Now I am using ID2D1Bitmap for displaying the bitmap in overlayed manner. But I have to retrieve the byte* data from the video with overlayed image. I am

Possible to change AlternateViewPointCap or MirrorCap from playback

倾然丶 夕夏残阳落幕 提交于 2020-01-16 05:02:25
问题 I am working with some data that another person recorded using the OpenNI recorder module. Unfortunately, they accidentally set the mirrored capability as on during their recording, so I am having a few problems 1. mirroring the depth using MirrorCap and 2. aligning the depth with the rgb using AlternateViewPointCap. I tried accessing these capabilities from my depth node as follows: xn::Context ni_context; xn::Player player; xn::DepthGenerator g_depth; xn::ImageGenerator g_image; ni_context

Why do I have to reinstall Kinect SDK everytime I restart PC

别等时光非礼了梦想. 提交于 2020-01-15 10:15:29
问题 I'm currently work with Kinect for Windows SDK version 1 under Win7, VS2010, C#.NET. Demos in Microsoft Kinect for Windows SDK Sample Browser can't run properly after Kinect is connected to my PC. Kinect Explorer (in C# ) says Kinect is not ready (which is different from Please insert a Kinect... if Kinect is not connected). Shapes Game (in C# ) says Oops... Something's wrong with Kinect Skeletal Viewer (in C++ ) can run, but only depth image run properly. Color image has a frame rate less

Projection and View matrices to match the Kinect RGB camera perspective

早过忘川 提交于 2020-01-15 09:54:32
问题 Does anybody know what are the correct values to setup the projection and view matrix for a XNA rendering in order to match with the Kinect RGB camera? For example, if the skeleton head joint coordinates are (X,Y,Z) then if I draw a sphere at these coordinates in my 3D space, the rendering should overlap the head in the RGB image. 回答1: In the end I took a trial and error approach and determined the parameters. You can find more details here: http://www.mindtreatstudios.com/our-projects/kinect

Kinect for Windows SDK v1.0 Beta 2

醉酒当歌 提交于 2020-01-14 17:30:28
Kinect for Windows SDK v1.0 Beta 2 久々にKinect SDKネタです。ご存知の方も多いと思いますが、 http://www.kinectforwindows.org から、SDKのVersion 1.0 Beta 2が公開されています。 その前のバージョン向けに書いたプログラム、ほぼそのままコンパイルが出来るようですが、幾つかポイントを紹介しておきます。 先ず、SDKを新しくインストールして、プロジェクトをVisual Studioで開くと、Kinect関連ライブラリを提供するコンポーネントの場所が変わっているので、参照設定を更新します。 新しい、SDKのコンポーネントは、 c:¥Program Files¥Microsoft SDKs¥Kinect¥v1.0 Bata2¥Assemblies に格納されているので、Microsoft.Research.Kinect.dllをそっちに変更してください。 それから、新しいバージョンのSDKは、Kinectセンサー複数台接続対応がより充実した関係で、Runtimeクラスのインスタンス生成方法も変わっています。従来1台のセンサーのみの場合であれば、 var runtime = new Runtime(); だったものが、古くなり、 var runtime = Runtime.Kinects[0];