I'm currently working on the kinect V2 to have access to the depth image. I use the library in python PyKinect2 that help me to have this images.
My first problem is :
-> I run KinectStudio 2, and look for the depth image, i look for the implementation of the PyKinect2 and i have a different image. How that could be possible ?
-> To have access to the depth of specific point called X(x,y), I use the method MapColorFrameToDepthSpace, and i manage to have some coordinates that will help me to have the distance on the depth frame. Is this assertion is correct ?
to get the depth image :
def draw_depth_frame(self, frame):
depth_frame = frame.reshape((424, 512,-1)).astype(np.uint8)
return depth_frame
the image from kinect 2 :
the image from kinect 2 with color ramp :
the image from pyKinect 2
Sincerely,