kekeblom / StrayVisualizer

Visualize Data From Stray Scanner https://keke.dev/blog/2021/03/10/Stray-Scanner.html
MIT License
70 stars 13 forks source link

Resolution of iphone 12 pro's lidar #2

Closed chenzhao2018 closed 3 years ago

chenzhao2018 commented 3 years ago

Hi, I have recently used Stray Scanner. I found the resolution of depth image is 256*192. Is it right? I want to know the real resolution of iphone 12 pro's lidar, but I can't find the parameter through search engines and Apple offical documents. Can you tell me? Look forward to your apply.

kekeblom commented 3 years ago

Hey @chenzhao2018,

Great to hear that you already got some use out of the app.

The resolution of the depth map that is exposed by ARKit is 256 * 192 as you suggest. This corresponds to the .sceneDepth property of of the ARFrame object.

Happy to answer any further questions.

chenzhao2018 commented 3 years ago

Thank you so much. And I have a further question.

How to get data of depth image and color image after depth image registration in Swift code?