arcore-depth-lab icon indicating copy to clipboard operation
arcore-depth-lab copied to clipboard

Whether DepthSource.cs can use with Arkit in ios?

Open ThmCuong opened this issue 4 years ago • 3 comments

I am interested in this project very much and want to use it in my app. Whether DepthSource.cs can use with Arkit in ios?

ThmCuong avatar Oct 12 '21 09:10 ThmCuong

Hi ThmCuong,

I haven't used ARKit so far, but frankly speaking, DepthLab is designed with an input of depth map, so you should be able to change the depth API from ARCore to ARKit. And I would love to accept pull requqests for anyone who has done this :)

Cheers, Ruofei

ruofeidu avatar Oct 12 '21 15:10 ruofeidu

Hi, I'm interested in doing the same thing. I understand that AR Foundation doesn't support the iPhone forward facing depth camera only the Lidar. Here is some discussion/code to expose the iPhone depth camera. I'm going to be seeing if this works. Will let you know how things go. Once you have the depth image DepthSource.cs can expose the compute shader generated surface on the iPhone. https://github.com/Unity-Technologies/arfoundation-samples/issues/615

knewk avatar Feb 19 '22 23:02 knewk

Thank you knewk! I honestly never programmed depth in iOS.

Hopefully this issue can help future developers!

ruofeidu avatar Jun 08 '22 21:06 ruofeidu