By · Updated

Face Mesh Online

478-Point Face Landmark Detection With Virtual Glasses, Moustache and Mask Try-On

No ratings yet

OneTask is free, with no sign-up, and built by one person.
If this tool saved you time, a coffee helps keep new ones coming.

How the Face Mesh Filter works

This face mesh online tool tracks 478 landmarks live. Press Start camera and allow access. Once the model loads, a mesh of 478 points is fitted to your face and redrawn every frame as you move. Switch Overlay to Contours or Dots for a cleaner look, or to Glasses, Moustache or Face mask to see how a face filter attaches props to the tracked points. Untick "Show camera" for a mesh on black, which makes a striking profile picture. The Expression readout names the strongest expression the model sees. Snap saves the frame as a PNG.

Face mesh online: how it works

Every face filter on Snapchat, Instagram and TikTok starts from the same idea: find a few hundred fixed points on the face, such as the corner of each eye, the tip of the nose and the outline of the lips, and track them frame by frame so a drawing can be pinned to them. This page runs the model that does that, MediaPipe's face landmarker, entirely in your browser. It returns 468 face points plus 10 for the irises at camera frame rate, and the overlays are plain canvas drawing attached to a handful of those points.

Why it matters. Face landmarks sit under far more than novelty filters. Virtual try-on for glasses and make-up, VTuber avatars, animation previs, driver-drowsiness monitors, video-call background effects and hands-free accessibility controls all start from the same point set. Seeing the raw mesh on your own face is the quickest way to understand what those products can and cannot know about you: they see geometry and muscle movement, not identity.

How the face mesh works

The 468 points are not found one by one. The model predicts the whole set at once as a deformable mask fitted to your face, so even a point hidden behind a hand gets a best guess. Each point has a fixed meaning. Index 1 is always the nose tip, 33 and 263 are the outer eye corners, 133 and 362 the inner corners, and 61 and 291 the mouth corners. That fixed numbering is what makes attaching props possible, and it is why a filter built for one face works on every face.

The overlay choices show different views of the same data:

How the props are attached. Glasses are two circles centred between each pair of eye corners (33 to 133 and 362 to 263). Their radius comes from the eye width, so they grow as you lean in, and the arms run out to the temple points 234 and 454 on the face oval. The moustache sits between the base of the nose and the top lip, and its width is a fraction of the distance between the mouth corners. The mask fills the face oval and cuts the eyes back out. That is the whole trick: measure a distance between two landmarks, scale the drawing by it, and redraw every frame. Commercial try-on apps add a 3D model and lighting, but the anchoring is the same.

Reading the Expression readout

Alongside the points, the model outputs 52 blendshapes, the same set Apple defined for ARKit face tracking. Each is a score from 0 to 1 for one facial action: jawOpen, browInnerUp, mouthSmileLeft, eyeBlinkRight, cheekPuff and so on. The Expression stat shows the name of the strongest one when it scores above 0.5.

Left and right follow the image the model sees, not the mirrored preview, so a wink with your right eye may read as eyeBlinkLeft. The eye blink timer uses the two eyeBlink scores to count blinks, which shows how one blendshape becomes a measurement.

Where blendshapes are used. Animators drive character rigs directly from these 52 values, which is how iPhone face capture feeds tools such as Unreal's Live Link Face. VTubers map them onto a 2D or 3D avatar so it smiles and blinks with them. Research teams use jawOpen and eye scores for fatigue and attention studies, and assistive software turns a deliberate brow raise or mouth open into a click for people who cannot use a mouse.

Tips for a clean track.

Pitfalls and limits. The model expects a face roughly facing the camera. It will follow you turned to about sixty degrees, beyond which the far side of the mesh is guessed and the props drift. Only one face is tracked at a time. Glasses and hats are fine, but a hand over the mouth or a very dark room makes it lose lock, and the overlay disappears until it finds you again. The expression label is a raw top score, not an emotion. A smile scores mouthSmile whether or not you are happy, so do not read feelings into it.

Privacy. The model runs in WebAssembly inside the page, and the camera stream never leaves the tab. No frame, point set or expression score is sent anywhere. The browser's network panel shows only the one-time model download of about 12 MB.

FAQ

Can I save the face mesh as data rather than a picture?

Not from this page — Snap saves the drawn frame as a PNG. The underlying model returns the points as a plain array, so if you need them for a project the MediaPipe Tasks JavaScript library is the place to start; this page is a demonstration of what it produces.

Why does the mesh flicker or jump?

The model fits every frame independently, with no smoothing between them, so small detection noise shows as jitter, and a fast head movement or a hand crossing the face can make it lose the fit for a frame. Apps hide this with temporal smoothing; here it is shown raw so you can see what the model actually returns.

Does it work with two people?

It tracks one face, the most prominent, so a second person in shot is ignored. This keeps the demo fast on older hardware; the model itself can track several.

What does the Expression readout mean by "Neutral"?

None of the 52 blendshape scores was above 0.5, so no single facial action dominates. The model still sees your face — that is just its way of saying it looks relaxed.

Does this work on a phone?

Yes, in Chrome and Safari, using the front camera. The overlays render at the camera's resolution and the first start downloads the model, which is then cached.

See also: all Video & Screen tools, Images, Audio, PDF, SVG, Simulations & Screensavers, Generative Art, Chart Makers, 3D Model Viewers, Drawing Pads, Mockups & 3D Making, Diagram Makers, 3D Science, Tracker Music.

Related tools