WIP: Interactive Face Scanner with Unity + MediaPipe
Hey Hive!
I wanted to share a new project I’ve been working on. I’m developing a face scanning effect in Unity using MediaPipe, and I thought it’d be cool to show you the progress, how it works, and what it could be used for.
I love building interactive experiences that surprise people, and this is a foundation I plan to use for events, activations, or installations with large displays.
(firt time i show my face so please support the post :))
What am I building?
It’s a Face Scanner that detects a person’s face in real time and generates a custom mesh with animated lines simulating a futuristic scanning effect.
The detection uses MediaPipe’s FaceMesh, and the visuals are built dynamically in Unity with procedural mesh generation and custom shaders.
How does MediaPipe work?
MediaPipe is a framework developed by Google that allows real-time perception through machine learning models.
In this project, I’m using the FaceMesh solution, which detects 468 landmarks on the user’s face using just a regular camera.
It runs fast and efficiently on CPU or GPU, and provides coordinates for each facial point which I then use in Unity to generate a 3D mesh and lines that follows the user’s face in real time and let me do these awesome efects using c# shaders too.
The numbers are bit small but these are all the landmarks MediaPipe detects. I used the ones that are highlighted to create the final white lines effect and for the blue scan effect i created a mesh using all the triangles and a shader.
What could it be used for?
Booths at expos and events
Interactive ads or marketing activations
Educational/entertainment museum setups
AR games with face-based mechanics
Tech Stack
Unity (C#)
MediaPipe FaceMesh
Custom shaders in Unity
Built for Windows (but can be ported to Android)
I'd love your input!
Can you imagine this as part of a minigame or a larger interactive experience?
Would you use something like this for a project?
Leave WIP: Interactive Face Scanner with Unity + MediaPipe to:
Read more #gamedev posts
Best Posts From Rama
We have not curated any of rama-dev's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Rama
- 🔥 September HPUD: A Moment of Reflection + Achievements + Next Goals
- What Competing Taught Me About Strength, Mindset, and Streetlifting/Lo Que Competir me Enseño de Fuerza, Mentalidad y Streetlifting
- My New Approach on Learning New Things
- 2D Maze Game: From idea to final game!
- Coming back after a month of lots of work! New Projects and Future Plans
- 🎸 Rising Star Week 3 and 4 Progress: Over 3,000,000 STARBITS Burned and EGO slowly going down!
- Overview of June in Hive: Posting, engaging and sharing my Journey with you!
- HUGE Performance of My Second Game in Farcade Jam And Why I’m Taking It Further
- 2 days before my biggest calisthenics competition. Here’s how I’ve been preparing for Southside
- Rising Star Week 2 Progress, It's Raining Guitars and Burning SB! 🎸
- New Game for Farcade's Mystery Game Jam + Stats from my previous game!
- Rising Star Week 1 Progress, Ego Control & Guitar Goals 🎸
- Drawing App Progress – Now with Color Picker, Brush Size & More!
- 🎮 Building my first Discord Bot with NodeJS + Mongo DB
- 🎸Back to Rising Star! I found a game full of updates, a big ego problem... and a new motivation to grow!
- Made My First Farcade Game + First Time Participating in a Farcade Game Jam
- My First Power Up Day and an Overview of May in Hive
- Designing a Stylized Particle Effect for My VR Game in Unity
- 🎨 Your Drawing On a Giant Screen: Building a Creative Experience With Unity
- My experience at the Kardo World Cup calisthenics competition