marek-simonik / record3d

Accompanying library for the Record3D iOS app (https://record3d.app/). Allows you to receive RGBD stream from iOS devices with TrueDepth camera(s).
https://record3d.app/
GNU Lesser General Public License v2.1
382 stars 55 forks source link

scale of the truedepth camera #23

Closed feiran-l closed 3 years ago

feiran-l commented 3 years ago

Hi, thank you for the charming app.

I am currently using the truedepth camera of an iphone 12 pro max. I basically follow the demo-main.py to stream rgbd frames. So the returned depth map is of type float32. Then what should I do to recover the absolute depth from the depth map (say the unit is centimeter)?

feiran-l commented 3 years ago

Sorry I figure it out. The float32 image is already in meters