Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Live face tracking requires a custom provider

Discussion in 'Unity MARS' started by Visual-3d, Apr 6, 2022.

  1. Visual-3d

    Visual-3d

    Joined:
    Oct 26, 2016
    Posts:
    5
    HI,
    I'm starting with mars face tracking - very basic scene,
    I get an alert: "Live face tracking requires a custom provider...",
    my web cam is working, I can see video,
    but I cant see any 3d Object in the Mars Device view,
    it just doesn't work as it should be.
     
  2. CiaranWills

    CiaranWills

    Unity Technologies

    Joined:
    Apr 24, 2020
    Posts:
    198
    MARS relies on the underlying platform or another provider for face tracking, for example on iOS the tracking is provided by ARKit. To get live face tracking in the editor requires a third-party face tracking provider and some wrapper code to integrate it with MARS.

    However to test face tracking in the editor you can use the recorded face videos provided with MARS.
     
  3. Visual-3d

    Visual-3d

    Joined:
    Oct 26, 2016
    Posts:
    5
    Thanks a lot,
    Can I use openCV with Mars?
     
  4. CiaranWills

    CiaranWills

    Unity Technologies

    Joined:
    Apr 24, 2020
    Posts:
    198
    Possibly - you would need to write an implementation of IProvidesFaceTracking that gets the face data from OpenCV and provides it to MARS.