Real-time FaceMesh tracking for Unity with 478 landmarks. Generate a 468-vertex facemesh, animate expressions, and create AR face filters or virtual try-on apps. No API required.FaceMeshTracking is a real-time face tracking plugin for Unity that detects 478 facial landmark points and generates a fully animated 468-vertex FaceMesh that accurately follows the user’s facial shape and expressions.The system reconstructs a runtime 3D facemesh from tracked facial landmarks, allowing developers to render materials, attach AR objects, or animate a custom facemesh that mirrors the user's facial movements in real time.You can either generate the facemesh automatically at runtime or use a custom facemesh model with 468 vertices that maps directly to the tracking topology. This allows precise facial deformation and realistic expression animation.FaceMeshTracking also includes AR template facemesh prefabs, making it easy to attach AR objects such as sunglasses, hats, masks, or other face accessories. Simply place your AR content on the template mesh and it will automatically follow the user's face.The plugin runs entirely locally on device with no API keys, cloud services, or third-party dependencies required. It works with standard RGB cameras and does not require a depth camera.FaceMeshTracking supports Android, iOS, Windows, macOS, and Linux, and can run directly inside the Unity Editor, making development, testing, and debugging easy.Key FeaturesReal-time tracking of 478 facial landmark pointsRuntime generation of 468-vertex FaceMeshCustom facemesh support with 468 verticesReal-time facial expression animationEasy creation of AR face filtersAttach AR objects such as glasses, hats, and masksIncludes Template FaceMesh prefabs for quick AR setupWorks on Android, iOS, Windows, macOS, and LinuxWorks directly inside the Unity EditorNo external dependencies or API keys requiredWorks with standard RGB camerasUse CasesAR Face Filters (masks, effects, face decorations)Virtual Try-On (sunglasses, hats, accessories, makeup)Avatar Facial AnimationFace Replacement / Face Mask EffectsInteractive Face-Based Apps and GamesLive Streaming Face FiltersFace Landmarks: 478 facial landmark pointsFaceMesh Vertices: 468 vertices used to generate the runtime facemeshTracking Type: Real-time facial landmark tracking and expression trackingMesh Generation: Runtime FaceMesh generation or custom FaceMesh support (468 vertices required)AR Attachment System: Template FaceMesh prefabs for attaching AR content to facial regionsSupported PlatformsAndroidiOSWindowsmacOSLinuxUnity CompatibilityCompatible with Unity 2021+ (or your tested version)Works in both Unity Editor and runtime buildsCamera SupportWorks with standard RGB cameras / webcamsNo depth camera requiredProcessingFully on-device processingNo internet connection requiredNo cloud processingDependenciesNo external SDK requiredNo third-party plugin requiredNo API key requiredInput SourceDevice camera (mobile)Webcam (desktop)Camera feed in UnityPerformancePerformance depends on device hardware and input resolutionHigher FPS achievable using lite models and lower camera resolutionUse with Custom FaceMeshCustom FaceMesh must contain 468 verticesVertex order must match the ML model topology for proper deformationEditor SupportTracking works inside the Unity Editor, making testing and debugging easier.This package includes documentation and promotional materials generated with AI assistance (ChatGPT, DALL·E). All scripts, logic, and core functionality were manually developed by the author.




