05-19-2016 05:15 AM
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,
Solved! Go to Solution.
05-19-2016 11:46 PM
@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
05-20-2016 02:01 AM - edited 05-20-2016 02:03 AM
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.
05-20-2016 04:50 AM
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.
05-27-2016 03:40 AM
Depth array from kinect sensor, which I am getting represent the distance itself.