← all repositories
AIRLegend/aitrack

Head tracking for simulators without the hardware tax

AITrack turns an ordinary webcam into a 6DoF head tracker for simulators, removing the need for proprietary IR hardware.

1.5k stars C++ Computer VisionDomain Apps
aitrack
Not currently ranked — collecting fresh signals.
star history

What it does

AITrack is a Windows application that watches your face through a webcam and estimates your head’s position and orientation in 3D space. It then fires that data over UDP to Opentrack, which pipes it into your simulator or game. The result is hands-free camera control—lean, pitch, yaw, roll, and shift—without clipping LEDs to your headset.

The interesting bit

Instead of relying on specialized infrared hardware like TrackIR, AITrack runs a neural-network landmark model (ported to ONNX) on ordinary webcam frames. It is deliberately forgiving: the authors claim it copes with poor lighting, glasses, and even low-end webcams as long as they can manage 480p at 30 fps. A second PC—for example, a laptop—can also run the tracker and stream the data over the network, which keeps CPU load off your main sim rig.

Key highlights

  • Hardware-free 6DoF tracking using a standard webcam; no IR LEDs or clip-on gear.
  • Runs a dedicated neural-network pipeline for face landmark detection.
  • Tolerates low light, partial face occlusion (e.g., glasses), and low-resolution input.
  • Remote-running mode: offload tracking to a laptop and stream data to your gaming PC.
  • Supports smartphone cameras via Droid Cam if you lack a dedicated webcam.

Caveats

  • Ships as a Windows .exe and requires the Visual C++ Redistributable.
  • Not a standalone game plugin—it needs Opentrack as a bridge to actually control in-game cameras.
  • The README notes “reasonable low CPU percentage,” though no specific numbers or hardware targets are given.

Verdict

Sim and flight-sim enthusiasts who want head tracking without buying proprietary hardware should take a look. If you already own a TrackIR or want a plug-and-play, cross-platform solution, this probably won’t displace your current setup.

Frequently asked

What is AIRLegend/aitrack?
AITrack turns an ordinary webcam into a 6DoF head tracker for simulators, removing the need for proprietary IR hardware.
Is aitrack open source?
Yes — AIRLegend/aitrack is open source, released under the MIT license.
What language is aitrack written in?
AIRLegend/aitrack is primarily written in C++.
How popular is aitrack?
AIRLegend/aitrack has 1.5k stars on GitHub.
Where can I find aitrack?
AIRLegend/aitrack is on GitHub at https://github.com/AIRLegend/aitrack.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.