Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

ARFoundation ARKit3 - humanSegmentationDepthMode

Discussion in 'AR' started by InakiAndres, Jun 19, 2019.

  1. InakiAndres

    InakiAndres

    Joined:
    Jan 9, 2019
    Posts:
    19
    Hello!
    I want to know the depth of the human, and I have the texture2D dephthuman (m_HumanBodyManager.humanDepthTexture) with TextureFormat.RFloat.

    But I don't know how can I read the RFloat to know the distance that I have in unity. Is it in meters, centimeters? And I have the sensation that is only a range 0-1.

    Help please! Thanks!
     
  2. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    605
    See https://forum.unity.com/threads/how-to-setup-people-occlusion.691789/#post-4661492