Search Unity

Is there a way for body tracking via front camera with arkit 3?

Discussion in 'General Discussion' started by mohammedghabyen, Sep 27, 2019.

  1. mohammedghabyen

    mohammedghabyen

    Joined:
    Feb 25, 2019
    Posts:
    18
    Hi,
    I am working on a body tracking project, where users stand on front of the camera and characters shows on front of them on the screen of the app and the character move same as the user, an example is here:

    I am using arkit 3 Human Body Tracking 3D, and its working great, the problem is its only working with the rear camera of iphone, not the front camera, there is no option provided by the arkit to switch camera, I wonder if there is a way to do this?, I searched in forums can't find a way to do that, also most of the code of arkit is in attached libraries which make it harder to understand how to do it.
    arkit provides face tracking too, when face tracking is active the front camera is active, I've tried to combine to subsystems in one scene(face and body tracking), but doesn't work, every time I activate body tracking Its automatically activate the rear camera.
    any help is much appreciated.
     
  2. gamesmiths

    gamesmiths

    Joined:
    Aug 1, 2014
    Posts:
    2
    body tracking not supported on front facing camera yet
     
  3. Realift

    Realift

    Joined:
    Oct 12, 2021
    Posts:
    9
    any updates here?
     
  4. Lex_Light

    Lex_Light

    Joined:
    Mar 17, 2019
    Posts:
    1
    TDPT does it in combination with Barracuda and onnx. But I wasn’t able to implement the system