headtracking Version française

Head tracking for Visual Pinball X

Move your head, the table follows

headtracking gives Visual Pinball X (VPX) a point of view that follows your head, the fish-tank VR effect that makes a flat screen look like a real pinball playfield under glass. It works from a plain webcam or a Kinect v1 or v2, and it calibrates itself from your cabinet's lockbar and side rails. Free, open source, for Linux, Windows and macOS.

Download the preview Join the Discord

A pinball cabinet running Visual Pinball X, with two Kinects and a webcam on top of the backbox
A real pincab running VPX, with the cameras on top of the backbox.
Preview, early development. The whole chain, from the camera to a live point of view inside a running VPX, works on a real Linux pincab with a Kinect v2, a Kinect v1 and a webcam. Windows and macOS builds are published and need testers. Expect rough edges.

What makes it different

How it works

The lockbar and rails give the camera position; a body model finds your head; the plugin moves the VPX view every frame.

How it works →

Download and install

One archive per system with the plugin and a demo app, then a few steps in VPX.

Install guide →

Webcam or Kinect?

What each camera brings, minimum distances, mounting on the backbox, minicabs.

Choose a camera →

Share your cabinet

Two minutes, no coding: a capture of your pincab teaches the calibration model new cabinets.

Contribute →

On a real cabinet

Lockbar outlined by a box and side rails marked by lines on a real cabinet
What the detection finds on its own: the lockbar (box) and the two side rails.

The project needs you

The calibration model learns what lockbars and rails look like from real cabinets, and it has seen very few so far. If you own a pincab, sending a capture from the demo app takes two minutes and is the most useful help there is. Rust developers, computer-vision people, VPX players and Windows or macOS testers are welcome too.

Free software, built in the open

headtracking is written in Rust and released under the GNU GPL v3 or later. The source code, the releases and the issue tracker are on GitHub. Bug reports, help and beta testing happen on Discord.