LabFree · no sign-up

Move your head, and the video moves with you.

TF.js Face-Motion Video. Video that follows your head movement, in the browser.

View the code ↗
Source on GitHub ↗
tfjs-face-motion
TF.js Face-Motion Video preview
Why it exists

01PROBLEM

Computer vision demos usually need a heavy setup.

02SOLUTION

BlazeFace in TensorFlow.js tracks your face and moves the video frame to match, in a single HTML file.

03VALUE

See how little code browser-based computer vision needs.

Screenshots

The story

How to use it

  1. Open the HTML file in your browser.
  2. Allow camera access.
  3. Move your head and watch the video follow.

How it's built

TensorFlow.js with the BlazeFace model tracks your face in the browser and moves the video frame to match, all in one HTML file.

Why it matters for businesses

It shows how little it takes to add computer vision to a web page, with no servers and no installs, and privacy by default.

In real life

The same idea powers hands-free controls and accessibility features in browser apps.

Under the hood

How it's built.

// tfjs-face-motion · Lab
export const tfjsFaceMotion = {
stack: ["TensorFlow.js", "BlazeFace"],
audience: ["Web developers", "CV learners"],
status: "lab", price: 0
}
Shape what's next

Feature requests.

No requests for TF.js Face-Motion Video yet. Be the first!

Chat with Bala