LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get distance from kinect depth sensor with kinesthesia

Solved!
Go to solution

Hello, 

 

How can I get distance of perticular object? I am using Kinect sensor xbox 360.

I'm using kinesthesia toolkit.

I am able to get depth array using the toolkit but I have no idea how to measure the distance of object in mm or meter.

 

Please guide me.

Thank you very much in advance.

 

Regards, 

Akki,

0 Kudos
Message 1 of 5
(5,515 Views)

@AnkitRamani wrote:

Hello, 

 

How can I get distance of perticular object? I am using Kinect sensor xbox 360.

I'm using kinesthesia toolkit.

I am able to get depth array using the toolkit but I have no idea how to measure the distance of object in mm or meter.

 

Please guide me.

Thank you very much in advance.

 

Regards, 

Akki,


you can try out Kinect 2 - Haro3D™ VI Library using which you can find some usefull example vi's and its easy to program.

Find detailed description here

 

Certified-LabVIEW-Associate-Dev_rgb (2).jpg

Certified LabVIEW Developer
Best LabVIEW Programmer @NIDAYS 2015
0 Kudos
Message 2 of 5
(5,470 Views)

Thank you very much for your reply.

Actually I am using windows 7, 64 bit operating system and Kinect V1 is supported by this OS. Kinect 2 - Haro3D™ VI Library  is for kinect v2. Kinect V2 works only for higher then  window 7.

That is one problme for me.

But I am able to get row information of Depth data. As per theory there are 16 bit used for representing depth pixel and first 3 should be 0 if we are not dealing with skeleton.

some how I need to calibrate raw data, is there any theory or something, which someone can provide me to convert raw information to mm or Meter.

Here in attachement I have attached the 2d array which I am getting for the whole frame captured by kinect sensor.

 

Thank you very much once again for your reply.

 

0 Kudos
Message 3 of 5
(5,460 Views)
Solution
Accepted by topic author AnkitRamani

Here In attachment I have attached One vi which gives me the depth information of pixel.

Somehow the value should not seems OK. for example if I enter the center point of image in 2D depth array to just check the value of it and then I move kinect from one position to another position and the value of depth array not behaving good. like if object is very near it gives decimal value 8192, when object is somewhere else the value is fluctuating 2000 or what ever.

It would be nice if someone can guide me where I am doing wrong or what the depth array value means.

 

Thank you very much in advance.

0 Kudos
Message 4 of 5
(5,451 Views)

Depth array from kinect sensor, which I am getting represent the distance itself. 

0 Kudos
Message 5 of 5
(5,411 Views)