Simple face tracking demo with Unity, AR Foundation, and echo3D.
Don't have an API key? Make sure to register for FREE at echo3D.
- Create a new Unity project.
- Clone the Unity-ARFoundation-echo3D sample code.
- Open the sample scene under
AR Foundation\Scenes\FaceTracking\FacePost.unity. - Set the API key in the
echo3D.csscript inside theecho3D\echo3D.prefabusing the the Inspector. - Add the 3D model from the models folder to the console.
- Add the metadata listed in the metadata.csv file.
- Overwrite the existing echo3D/RemoteTransformations.cs script with the new RemoteTransformations.cs file.
- Build and run the AR application. Verify that the
AR Foundation\Scenes\FaceTracking\FacePosescene is ticked in theScenes in Buildlist and clickBuild And Run.
Refer to our documentation to learn more about how to use Unity and echo3D.
Feel free to reach out at [email protected] or join our support channel on Slack.