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. Dismiss Notice

Resolved higher quality human stencils for user facing camera?

Discussion in 'AR' started by ARrrrgonaut, Jan 23, 2023.

  1. ARrrrgonaut

    ARrrrgonaut

    Joined:
    Jan 5, 2021
    Posts:
    5
    Are human segmentation stencils greater than 256x192 available from the user facing camera? I'm requesting human stencil mode "best" (and currentHumanStencilMode seems to be returning "best"), but I can only seem to get the lowest resolution.
     
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    718
    On which platform and device?
     
  3. ARrrrgonaut

    ARrrrgonaut

    Joined:
    Jan 5, 2021
    Posts:
    5
    I'm on an iPad Pro (11 inch, 2nd gen, currently iOS 14).

    If it's not available on this device, I'd be curious to know which, if any, devices it is available on!
     
    Last edited: Jan 24, 2023
  4. ARrrrgonaut

    ARrrrgonaut

    Joined:
    Jan 5, 2021
    Posts:
    5
    Hey andyb - any word on this? (thx!)
     
  5. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    718
    I asked around and the response was "if currentStencilMode is set to best, then you are indeed getting the best available stencil". I'm not personally familiar with this ARKit API so I don't know what the expected range of values would be on various devices or OS versions.
     
  6. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    718
    If you asked on Apple Developer forum maybe someone over there could help you get that information.
     
  7. ARrrrgonaut

    ARrrrgonaut

    Joined:
    Jan 5, 2021
    Posts:
    5