I want to create a mask from the kinect depthmap for showing my hand from image map.
I'm using "dp.kinect" library. I divide the depthmap into '0' and '1' using 'jit.op < ' for the mask.
But the result of mask appears 10 fingers not 5 fingers like 'mask.jpg'(attach). So, the result of video appears ' mask_video.jpg'(attach).
I want to show only 5 fingers without overlap in the mask.
Can anyone let me know how to solve this problem?
The patch is below.