Simple face change 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 scence under
AR Foundation\Scenes\FaceTracking\FaceMesh.unity. - Set the API key in the
echo3D.csscript inside theecho3D\echo3D.prefabusing the the Inspector. - Add an image hologram by uploding one of the face-#.jpg files from the assets folder to the console.
- Overwrite the existing echo3D/CustomBehaviour.cs script with the new CustomBehaviour.cs file.
- Build and run the AR application. Verify that the
AR Foundation\Scenes\FaceTracking\FaceMeshscene 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.

