Click here to Skip to main content
15,881,882 members
Everything / Game Development / Kinect

Kinect

Kinect

Great Reads

by Vangos Pterneas
Background removal using Kinect 2 (green screen effect)
by Shai Raiten
In my previous posts about Kinect I've showed how to get started, how to change Angles and more cool stuff, but now it's time to start working on the real things, how to enable Kinect to your environment, I'm talking about PC.
by Shai Raiten
Kinect – Calculator – Adjust Skeleton Movements To Mouse
by Vangos Pterneas
How to use Kinect v2 Face basics

Latest Articles

by Yang Kok Wah
A tool to generate face images and animated gif files for different angles and lighting using only a single face image. Also includes Face Matcher using Microsoft Face API.
by Tareq_Gamal
How to Control NAOqi-Based Robots like NAO, Pepper using Kinect
by Vangos
Today, I would like to introduce you to the Orbbec Astra sensor and the Nuitrack body-tracking SDK. This is an in-depth tutorial for software developers who would like to use a new depth sensor and a new body-tracking SDK to develop amazing motion applications.
by Vangos
Floor Detection using Kinect

All Articles

Sort by Updated

Kinect 

15 Jan 2013 by Abhijit Jana
How to capture the Infrared stream from the Kinect sensor and control the IR emitter using Kinect for Window SDK
18 Jan 2014 by Abhijit Jana
You can change the frame interval by changing the value of ColorCameraSettings.FrameInterval property. You have to make sure the AutoExposure property is set to false while working with FrameInterval; otherwise there will have no effects on the frames.Use this like...
10 May 2012 by Abhinav S
Some links - http://vbcity.com/blogs/xtab/archive/2009/10/26/wpf-how-to-move-elements-at-runtime.aspx[^]http://blogs.msdn.com/b/jaimer/archive/2007/07/12/drag-drop-in-wpf-explained-end-to-end.aspx[^]http://scottgarland.com/Post/Display/WPF_Drag_and_Drop_Image_Between_Applications[^]Move...
26 Jun 2014 by Agha Musa
I tried and searched a lot but haven't got much. I want to work on kinect as my final project. Any one having expertise in kinect kindly help me.regards
26 Jun 2014 by Agha Musa
i did the same and found the same result but the problem that i am having here is no clear cut way to follow, secondly i am not that good in kinect that's why its becoming very difficult for me :(
14 Jul 2014 by ahadji_547
hi! i have to do a program with kinect for my senior project and i'm new in doing programs with visual studio.. i follow the instructions of the "Kinect for Windows SDK Programming Guide" but the explanation of the .xaml file in one of the example applications of the book is insufficient and i...
5 Aug 2014 by ahadji_547
hi! i have to do a program with kinect camera for my senior project and i'm new in doing programs with visual studio.. i follow the instructions of the Kinect for Windows SDK Programming Guide but the explanation is insufficient. The application must open a dialog window when i press a button...
11 Aug 2014 by ahadji_547
hi! i have to do a program with kinect for my senior project and i'm new in doing programs with visual studio.. i follow the instructions of the "Kinect for Windows SDK Programming Guide" but the explanation in one of the example applications of the book is insufficient.. to be more specific i...
26 Jun 2013 by ali 10
I am taking Video from kinect and sending to client but the problem i am facing is that it says calling thread cannot access the object different threads owns it i use dispachter.invoke but it is giving me the same exception and not displaying the required result. public partial class...
24 Feb 2012 by Aniket Yadav
check this link from codeprojectFace Detection in C#[^]Other Linkshttp://www.c-sharpcorner.com/Forums/Thread/81953/facial-expression-recognition-using-C-Sharp.aspx[^]
24 Feb 2012 by Aniket Yadav
Hope This Also Help Youhttp://factaee.elfak.ni.ac.rs/fu2k71/9caleanu.pdf[^]
6 Mar 2012 by Aniket Yadav
You should probably wrap the entire thing in a try-catch since at least here setting the ElevationAngle to often spits out an Exception.for exampleusing System;using Microsoft.Research.Kinect.Nui;namespace Kinect.Extensions{ public static class CameraExtensions { public...
22 Oct 2013 by Anoop Pillai
CakeRobot is a gesture driven robot that moves around based on your hand movement.
24 Apr 2012 by Armando Martínez González
first of all I apologize for my Englishi am trying to optimize/speed up some code i madeto make a texture with the information of the depth frame provided by a kinecti have been looking at System.Threading and other stuff but haven't been able to make this parallel any help would be...
24 Apr 2012 by Armando Martínez González
as of this http://tipsandtricks.runicsoft.com/CSharp/ParallelClass.html[^]i think parallel for wont do what i needbut i think im on to something with this but im not sure yethttp://msdn.microsoft.com/en-us/magazine/cc163340.aspx[^]
25 Apr 2012 by Armando Martínez González
at last i got a hold of something usefullhere maybe this will help another noob like me void Calling_Method_In_Separate_Thread() { ParameterizedThreadStart parameterizedThreadStart = Method; var thread = new Thread(parameterizedThreadStart); ...
14 Jul 2014 by ashok rathod
Here I assumed that you dont know how exactly basic style is incorporated in xaml. So first of all look for(i mean search in whole solution and where exactly style is defined) two styles in BasicTextStyle and BasicContentStyle and see where exactly it is located.It should be somewhere in other...
13 Jun 2013 by bananadrop
I am wring for asking the how to tracking the specific person after detecting for the interactive floors.We would like to express like a pond which the fishes are in it. When person comes into the scanning zone, some fishes are gathering around the person with gentle wave. Specially, If...
13 Feb 2012 by Christian Graus
This is gibberish, but I think what you mean is, you want to draw one image on top of another. This is trivial. Create a Graphics object using Graphics.FromBitmap or FromImage and then draw your image into this graphics object. It will then be on the bitmap you created the Graphics object from.
24 Oct 2011 by Chuck O'Toole
Well, just looking at the numbers:If 'i' can reach 320*240 (from the for loop control)And if 'CHANNEL' is a constant 3Then 'buf[CHANNEL*i+1]' and 'buf[CHANNEL*i+2]' are referencing cells outside the defined boundaries of 'buf'.That's just from looking, I didn't bother trying to...
6 Nov 2015 by CiscoSoft
I have successfully implemented the floor clip plane to measure the distance of left foot to the floor, which is fairly accurate. The problem I have is that as I move away from the camera (i.e. left foot Z axis is increased), the foot distance to the floor changes (increases).Note: The floor...
28 Oct 2012 by CodeBeginner123
Hello everyone!I am trying to downsample the RGB output of kinect to 40x40 using C#. I have been using writeablebitmap to get the RGB output however, I could not find a good way to convert writeablebitmap to bitmap where I can downsample.I tried a couple ways including saving the...
18 Dec 2013 by Coder_Jack
I have thousands points that I took from kinect for 3D scanner. I can see the 3D shape in meshlab or blender but I want to convert all points according to .obj file format.here is an example of .obj file ;# Simple object file . This is commentv -0.500000 0.000000 0.400000v -0.500000...
6 May 2013 by CPallini
Did you try Google[^]?
12 Apr 2012 by Danish Sajwani
Kinect Bing Map Ajax Control 6.3 - 3D, Streetside and Bird Eye with WPF Webrowser Control
6 Apr 2017 by Dave Kreskowiak
Why would putting the thread to sleep "smooth" out the mouse pointer? All that does is make your app completely unresponsive. You're "smoothing", if that's what you want to call that code, the position of the mouse pointer isn't the correct way to go about this. What you should be doing is...
2 Apr 2012 by Dean Oliver
MinWidth , Width, and MaxWidth are used to manage the range of widths that a window can have during its lifetime, and are configured as follows. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" MinWidth="300" Width="400" MaxWidth="500">Window height is managed...
17 Apr 2012 by Deepak_Sharma_
Hi,Read reply marked as "Answered" in the following link:http://social.msdn.microsoft.com/Forums/en-US/kinectsdknuiapi/thread/8516bab7-c28b-4834-82c9-b3ef911cd1f7[^]Useful link for Kinect:http://raychambers.wordpress.com/tutorials/[^]
24 Jun 2014 by Diego Gonçalves Dias
In this short tip, I am going to teach how to create a Virtual Wall using the Kinect sensor through the Kinect Toolbox.
31 Dec 2014 by dthepok
Hello all,I'm working on a project to move the mouse cursor using righthand which is tracked by kinect using Depth Image. I am controlling mouse movement from right hand palm joint. I'm able to do the tracking but when i am keeping the hand stationary the mouse jumps from one place to another....
31 Dec 2014 by dthepok
sorry i didnt get you. how can i run a look between X1:Y1 and X2:Y2 and move the mouse with a fraction of the total movement in every iteration.is there any sample code available.thanks
14 May 2012 by E.F. Nijboer
Check this out:http://stackoverflow.com/questions/10577862/kinect-user-detection[^]Good luck!
29 May 2012 by Ed Nutting
Hi There,Yes you can! And I have an article that details how to control your robot from C# here on CodeProject. Have a look here:Basic Robot Control using NKH Mindsqualls Libraries[^]It uses the NKH Mindsqualls library, you may wish to see if there is a new version. It works really...
14 Mar 2012 by El_Codero
Hi,you can use built in skeleton tracking from the SDK.Here's a great CP article which sould solve your problem.Kinect – Getting Started – Become The Incredible Hulk[^]Regards
24 Apr 2012 by El_Codero
Hi,the simple way to increase/decrease monitor "brightness" is to P/Invoke the Gamma-Value with SetDeviceGammaRamp function in GDI32.dll.The reason why brightness is quoted is it's not really setting the real monitor brightness when changing gamma value, but it really looks like. The...
24 Oct 2011 by Erin Burke
Hi all, im very new to programing and playing around with both opencv and the kinect sdk and was just looking for alittle help.I have managed, by following the sdk examples, display the depth stream and RGB stream of the kinect using openCv, however now i cant seem to do any image processing...
7 Aug 2014 by Erloic
Hi all,I'm a computer developper , i've been strugling lately for a month now, trying to install all necesary packages to get my Xtion camera to work on my Quad core(Arm) Udoo board with Ubuntu 12.04 with any given sample.Does anybody knows a good tutorial of Xtion + Udoo(ARM) on Ubuntu...
22 Mar 2012 by fjdiewornncalwe
You should perhaps look into the XNA technologies. A quick google search results in many good tutorials and options.XNA 3d object viewer[^]
3 Oct 2012 by fjdiewornncalwe
You may find your answer here[^].
24 Oct 2011 by Gavrilov Alexey
Recognition of concentrating, non-concentrating, sleeping, and raise-hand postures.
27 Jul 2018 by Gerry Schmitz
You don't have any "update" code. And maybe your "Kinect" needs to be plugged in.
20 Feb 2017 by Graeme_Grant
Google Search is your friend... This should help: display kinect 3d model in WPF[^]
25 Feb 2014 by Guru Swaroop
Kinect SDK provides us with the FaceTrackFrame class:Microsoft.Kinect.Toolkit.FaceTracking.FaceTrackFrame frame;After Initializing the frame object, we can get all the 121 points which are being tracked on the face, by usingframe.Get3DShape();I want to get the labels for all...
30 Apr 2022 by Hamna Malik 2022
Canvas is not displaying video even there is no error while execution of code What I have tried: def ir_frame_to_jpg(self, IRFrame): IRFrame = IRFrame.reshape((const.ir_image_size)) IRFrame = np.uint8(IRFrame) ...
11 May 2014 by Hloni Matsoso
Do you mean you want a book page flip like effect?... this would require quite a bit of mathematics to calculate angles of the current page and next page being overlayed and display respectively, but have a look at https://github.com/thinkpixellab/bot[^]It has cool WPF tricks, and a page...
11 May 2014 by Hloni Matsoso
LOL, your question is all over the placeWhat do you mean by "application will start from the first programmatically"?What do you mean by "the application should be stopped"? But it sounds like you want to track state of your app. You can start with an enum (States) with 2 states,...
5 Sep 2013 by Jason Gleim
You can't directly cast one enum to another but you can use the fact that they are based on integer values as a work around. If the enumeration VALUES are the same, you could probably do something with IsDefined to figure out if a given values matches another one and then return that.I...
26 Jun 2013 by johannesnestler
Hi ali,Seems a simple solution if you know it. You can't access the WriteableBitmap from another thread (not the thread created it). If you want to do that, you need to freeze your bitmap by calling WriteableBitmap.Freeze() first.And You can't access ....Source in a thread that is...
1 Apr 2014 by jy071
Hi, I am Jyoti Yadav. I am working on a project which detects 3D face scans using interest points and local histograms. I am using kinect camera for taking 3D images. I am using Microsoft Visual C# express. To assist me in this project can someone please provide me a sourcecode on a similar...
24 Jan 2012 by Karl Sanford
Removing noise from the Kinect Depth Frames in real-time using pixel filters and weighted moving average techniques.
20 Aug 2012 by Karl Sanford
There is a method in the KinectSensor class to do this for you called MapDepthFrameToColorFrame http://msdn.microsoft.com/en-us/library/microsoft.kinect.kinectsensor_members[^].There is an example in this thread:...
23 Aug 2012 by Karl Sanford
You could use the skeletal smoothing, and that should help a bit. The best way I've found is with a moving average of your desired target (in your case, the mouse location). So instead of simply moving the cursor every time you have a movement in your fingertip point, use a queue to store the...
23 Aug 2012 by Karl Sanford
If you are doing 3D in WPF, this book is a vital resource: http://www.charlespetzold.com/3D/[^]Having tried a lot of this myself, I can tell you it's not an easy task. WPF will choke hard on the vast amount of data you try to throw at it with a depth image from the Kinect. I ended up...
23 Aug 2012 by Karl Sanford
You have the right device, and the part you need did technically come with it (though most people don't know what its for and end up throwing it away).You need this: http://www.amazon.com/Xbox-360-Kinect-Adapter-Power-Supply/dp/B004IXRXGY[^]
23 Aug 2012 by Karl Sanford
I answered this here: kinect smoothing mouse movement[^]
7 Jun 2015 by Klajdo Fyraj
I am working on an project where I want to use Kinect camera 2 (SDK v2), with Emgu library (2.4.10.1940).First I converted the Kinect ColorFrame to BitmapSource and then from BitmapSource to Drawing.Bitmap. When I try to convert from Drawing.Bitmap to Image, I get an "A first...
10 Jun 2015 by Klajdo Fyraj
Hi guys I found the problem and solve it. First I forgot to copy the x86 and x64 folders from Emgu\bin to Debug folder of the Visual Studio directory. Moreover, converting Media.BitmapSource to Emgu.CV.Image isn't the best idea so after reading a book (James Ashley - Beginning Kinect Programming...
31 Dec 2014 by Kornfeld Eliyahu Peter
The reason your mouse jumps is that you update the position upon event...So a moment before you mouse was at position X1:Y1 and now you update it to X2:Y2 - in flick of the eye...What you can do is run a look between X1:Y1 and X2:Y2 and move the mouse with a fraction of the total movement in...
24 Apr 2012 by Leonardo Paneque
In order to convert a solution to parallel you need to check also for output and input dependencies. for example it is not possible to run Fibonacci numbers in parallel, because a value X, depends on previous values x-1 and x-2.So that being said, be aware that not everything can be...
5 Feb 2013 by Levin Eersink
Hello,my name is Levin I'm from germany and I go to a technical school.I have made a project with the Kinect Sensor and the NXT Mindstorm, using gesture I steered the NXT. But now I have a problem.If the Kinect recognizes my skeleton it will not work, but when I hold my right hand over...
25 Feb 2013 by Levin Eersink
#region SkeletonView private const float RenderWidth = 800.0f; //Größenfaktor (je größer die Zahl desto kleiner das Skeleton) private const float RenderHeight = 600.0f;//Größenfaktor (je größer die Zahl desto kleiner das Skeleton) private const double...
7 May 2013 by Levin Eersink
hey, if i debug the program it works.But when i stand in front of the camera and the camera recognizes me than the picture hangs.Still the gesture are detected and the NXT drive but the picture hangs on further.
24 Jan 2016 by lgmugato
So, I'm trying to make Kinect v1.8 Run in C++/CX UWP XAML. Every other NUI Function seems to work besides NuiInitialize(). If I run the examples from the Developer Toolkit in native C++ they work just fine. I'm not really sure why it may be failing. If anyone can give me a little guidance it...
5 Mar 2018 by Maciej Los
First of all, please read my comment to the question. As is mentioned here: How to connect Kinect XBOX 360 to MATLAB?[^] Matlab 2011 does not support Image Acquisition. This future is available from Matlab R2013a. Follow the link to get more details.
15 May 2012 by Makbg
I'm making a project for my university, I'm working with kinect and i want to detect the finger tips using microsoft sdk.I made depth segmentation based on the closest object and player so i now have only the hand part in my image. But I have no idea what to do next. I'm trying to get the hand's...
24 May 2012 by Makbg
Hello Everyone,I'm making a project for my university. It involves using the kinect and detecting the finger tips, I'm using the microsoft sdk with c# and wpf. I've made depth segmentation and got the hand, I got the center of the palm from the skeletal tracking (not very precise though so if...
25 May 2012 by Makbg
Hello everyone,I'm developing a software to move the mouse based on certain coordinates which i get from a depth image from kinect. but I have 30 frames/second(images/second) and those coordinates changes with every frame so the mouse keeps moving. My question is,Is there a way to smooth the...
5 Jun 2012 by Makbg
Hello all,I'm working on a project to move the mouse cursor using the fingertip which is tracked by kinect using Depth Image. I'm albe to do the tracking but the problem is in moving the mouse in a smooth way. In my program, when I move the mouse it doesn't move in a smooth way , but instead...
21 Mar 2015 by manjunath reddy
I have applied PCA on a set of points which represents an object. But the result is not perpendicular to the object surfaces(i.e the eigenvectors are not perpendicular to the surface of the objects). Because of which I am not to calculate real dimensions of the object.#include...
20 Mar 2012 by Maximilien
In my opinion, if you don't even know what is the difference between a console application or a win32 application, you do not have the necessary skill to start programming for Kinect.Anyway, have a look at this (among other google hits) : KinectFusion: Real-time 3D Reconstruction and...
8 Aug 2013 by mccaber82
Hi,I am looking to use the Kinect with the 1.7 SDK and I'm trying to understand how to link the three capture streams (RGB, Depth, Skeletal).Is it fair to assume that the frame number is common between the three streams and that all capture data is kept in sync using the frame...
8 Aug 2013 by mccaber82
Hi,Im beginning development using the Kinect SDK. One thing I need to do is store the data.Array information comes out of the frame for each stream (RGB, Depth, Skeleton), such as the skeleton array coming from the skeleton stream.Im trying to understand how to compress the data for...
4 Sep 2013 by mccaber82
I am using the Kinect SDK to capture an RGB stream. I am capturing the data at: ColorImageFormat.RawBayerResolution640x480Fps30More info on available formats here. I want to store this stream on disk, so I am using a binary writer to write the raw frame bytes of the color image. This...
5 Sep 2013 by mccaber82
I am doing Kinect programming and when I enable the color stream, I defined to use Bayer 30 frames per second format (ColorImageFormat.RawBayerResolution640x480Fps30). When rendering the image, I use the following code: PixelFormat format = PixelFormats.Bgr32;// Bitmap source to...
3 Jan 2014 by mccaber82
Hi,I am looking to achieve manipulation of the Kinect skeleton data on the fly. I have built an app that renders the Skeleton captured in 3D using the Helix toolkit. I use the XYZ position data for each joint to render the 3D model (a series of sphere's and cylinders to represent the...
3 Jan 2014 by mccaber82
Hi,I have seen the matrix held in the following property in the Kinect Skeleton data: item.BoneOrientations[JointType.ElbowRight].HierarchicalRotation.MatrixIt also has the following property: item.Joints[JointType.ElbowRight].PositionHow can you translate the information in the...
26 Mar 2012 by Meloo
hello peopleI apologize for the English first.I'm trying to work on Kinect (in C + +) and i would like to acknowledge the pull method (or back) as the framework NITE doesn't have, or will you have to do everything?Another question I would like to know how to get a hold to repeat the...
9 Sep 2013 by Member 10210554
I use kinect to record video, each fragment can be accepted only more than 10 seconds, and to gain the space is very big, how to deal with each video to 40-50 minutes, and take the space is little
27 Jul 2015 by Member 10250681
I,m new to wpf 3d and kinect .i,m trying to build a virtual cloth trial application using 3d shirts 3d pants etcas for my research on the topic i found that xna unity 3d are the platforms to start . but i need to achieve this without xna unity or any other platformsexcept wpf 3d c# kinect ....
21 Feb 2017 by Member 10268855
I have a Kinect V2 that collects measurements from a object that is rotated 360 degrees.Once the object is rotated 360 degrees I end up with 360 arrays with a length of 480. These arrays are full of distance measurements taken from a measuring device.I would like to take the captured...
12 May 2015 by Member 10405651
I am trying to change the position on an Ellipse-shape. I want the Ellipse to follow my hand position (using the Kinect). I created a Ellipse-shape in C# using the Toolbox. I named the Shape "HandEllipse". The position of the right hand is named "Righthandintx".When I press view code on the...
3 Dec 2013 by Member 10410308
hello every1 recently i am working on a project based on real time facial animation using kinect as a sensor. i have to create an avatar which can imitate all our facial expressions and can retarget back and can you adivice me how to go forward????raaj
2 May 2014 by Member 10466515
I want to display the kinect status-Connected or disconnected and the Device Connection ID. Connection ID is getting displayed,but Status is not getting displayed in Textblock My code is-mainwindow.xaml.cs-public partial class MainWindow : Window{ KinectSensor sensor; private...
11 Jul 2016 by Member 10466515
I have to make Kinect Virtual dressing room project in 10 days,I am very much familiar with Kinect and i have developed many sample applications also.Please tell me step by step procedure to make virtual dressing room in which the 3d clothes maps on real person.Please tell me what should i start...
17 May 2014 by Member 10466515
I have to map 2d shirt image on real person captured by kinect camera-I have tried mapping with this code-My xaml code is-
3 Feb 2014 by Member 10568591
Is it possible to use Microsoft Kinect SDK for coding an application to be used with Primesense Carmine 1.09 Sensor? Does the Kinect SDK recognize the hardware calibration of Primesense Carmine 1.09 especially that is Short Range 0.35M?
13 Jun 2015 by Member 10592032
I am trying to use an existing project and integrate the new v2 camera and SDK. When doing so I get a lot of errors that are about the same throughout the entire project. This is a large project so I am trying to limit changes. Most of the errors are namespace/reference errors for Skeleton...
24 Feb 2016 by Member 10751415
Hi developers, there will be a way to perform a scan with more than 2 persons with the kinect sdk 1.8.I want to use the kinect sdk for trackingI use C#, Windows Form, Kinect Sdk 1.8, EmguCv.Greeting.What I have tried:try to keep track with the skeletons but only works for two...
11 May 2014 by Member 10807796
The examples I have show the old beta codes, can someone help here please. I don't understand the codes hereprivate void ProcessGesture(Joint head, Joint handleft, Joint handright) { /* Microsoft.Research.Kinect.Nui.Vector vector = new...
11 May 2014 by Member 10807796
Yes I have done that earlier and it works thank you.
2 Jan 2015 by Member 10928726
I'm trying to make a copter moving depending on the movement of a person,the kinect will track the person and the copter(it have a red ball"for example.." on it) at the same time
20 Feb 2015 by Member 10928726
Can I track object (like ball in example...) with kinect using sdk V1 ?and if i can ,can i track it with a skelton at the same time....? thanx in advance :)
5 Mar 2018 by Member 10928726
I'm working on SLAM project using Kinect, I'm using Matlab 2011. The Kinect is working properly on visual studio(C#), but the Matlab doesn't recognize it. I tried Microsoft kinect SDK 1.8 and Microsoft kinect SDK 2 But it also doesn't work. What I have tried: On Matlab I'm using Image...
29 Oct 2014 by Member 11191110
I'm trying to do something that really simple but I don't know how for example when the user wave their hand the word "wave" will show and when the swipe left another message will show and so onhow can I do this
18 Nov 2015 by Member 11352969
I learned that Kinect provide skeleton from depth image, so I wonder it's there a way that I record depth image and do some modify(filter or other things), and then input it into kinect to get the skeleton?