Values in ARHumanBodyManager.humanDepthTexture - linear? meters?

Hi!

I can’t seem to find any documentation on what the values in the ARHumanBodyManager.humanDepthTexture are? Are they linear and in meters? That’s how I used them here: x.com and it doesn’t look quite right :slight_smile: or is it just that noisy?

An example showing how to use them (for people occlusion for example) would be great. Anyway, stellar job on getting us ARFoundation 2.2 preview and examples to try so quickly!! Much appreciated!

They are in Unity world units (which are meters). My experience so far is that they are pretty noisy too. The ARHumanBodyManager has some additional options for resolution and somewhere in the documentation, I read that they are supposed to apply some kind of smoothing/filtering, but for me and some others, those options are broken on device: [ARKit 3 Human Segmentation] Depth Mode Full Screen Resolution throws exception

Hoping Unity gives us an improved version because the results I’ve gotten so far when using human segmentation to occlude geometry are a little bit lackluster with the current version.

Thanks! Yeah I also only get standard res to work for the human depth texture.

Where did you get the info that depth is in unity world units? I totally makes sense to set it up that way, I just haven’t seen it in the docs?

Actually now that I think about it, it was from an employee of Unity in a thread on this forum.

1 Like

Ah, found the thread! Thank you!