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
379 stars 55 forks source link

How to obtain the absolute shoot time #75

Open Yuxi-Zhang opened 7 months ago

Yuxi-Zhang commented 7 months ago

Thanks for the great project. I tried to export it as EXR format and am able to read the relative shoot time of each frame using the key "frameTimestamps" in the JSON file. I wonder if it is possible to obtain the absolute shoot time of each frame. Thank you very much.

marek-simonik commented 7 months ago

Hi,

thank you for using Record3D :)! The frame timestamps provided by Record3D are relative to the timestamp of first frame provided by the camera, which itself is relative to the time since device startup. Unfortunately, I was unable to find a way how to relate the absolute ("real") time to the device's boot time.

If anyone reading this has any idea how to do this correctly (i.e. obtain the absolute/real time of device's start-up) please let me know and I will try to implement it into Record3D.