SpectacularAI / sdk-examples

Spectacular AI SDK examples
Apache License 2.0
202 stars 35 forks source link

NerfCapture export depth scale? #123

Closed wangqinglhc0122 closed 6 months ago

wangqinglhc0122 commented 7 months ago

Hi what is the scale you use when you save the depth image?

Bercon commented 7 months ago

With Spectacular Rec app the depth scale is saved into the data.jsonl file along with the frame timestamps. You multiply the unsigned 16 bit integer value you get from the depth bitmap with the scale, usually 0.001m i.e. 1mm