HI
I want to know how to get the depth data or the measured distance from camera to object.
I have tried f.write((char *)d->depth.data(), sizeof(float)*d->size.width*d->size.height);
But the feed back data includes positive and negative, which is not the distance data.
So would any one please help to provide a solution?
In detail please.
Thanks