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.cs
script inside theecho3D\echo3D.prefab
using 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\FaceMesh
scene is ticked in theScenes in Build
list and clickBuild And Run
.
Refer to our documentation to learn more about how to use Unity and echo3D.
Feel free to reach out at support@echo3D.co or join our support channel on Slack.