explaingit

epalosh/openfov

16PythonAudience · generalComplexity · 2/5LicenseSetup · easy

TLDR

A free Windows app that turns any webcam into a head tracking device for iRacing, translating your real head movements into in-game camera movement without any special hardware.

Mindmap

mindmap
  root((OpenFOV))
    What it does
      Webcam head tracking
      In-game camera control
      iRacing compatible
    How it works
      Tracks 478 face points
      Emulates TrackIR device
      Sends to iRacing
    Features
      First-run wizard
      Smoothing filter
      Sensitivity curves
      Axis inversion
    Tech stack
      Python
      Windows
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Use your existing webcam as a free head tracking device in iRacing without buying a TrackIR or other dedicated hardware.

USE CASE 2

Calibrate head tracking sensitivity and smoothing through a graphical interface to match your driving style.

USE CASE 3

Recenter your view during a race by pressing F9 if the tracking drifts.

Tech stack

PythonWindows

Getting it running

Difficulty · easy Time to first run · 5min

Windows-only, requires a webcam pointed at your face and iRacing installed.

MIT license, use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

OpenFOV is a free, open-source Windows app that lets you use a regular webcam to track your head movements and translate them into in-game camera movement in iRacing, a racing simulation game. Instead of buying a dedicated head tracking device, you point your existing webcam at your face and the software does the rest. The app works by watching your face through the webcam and detecting the position of 478 points on your facial features in real time. As you turn or tilt your head, the software calculates the change in angle and sends that information to iRacing in a format the game already understands. iRacing treats OpenFOV as if it were a TrackIR device, which is a commercial head tracking product. No special hardware is needed beyond your webcam. Setup starts with a quick first-run wizard. You pick which webcam to use, look straight ahead and press a button to set your neutral position, and then you are ready to launch the game. While driving, pressing F9 recenters your view if it drifts. The controls and calibration options are presented through a graphical window, so you do not need to edit configuration files. The software includes a smoothing filter that reduces jitter so small involuntary head movements do not cause distracting camera shake. You can adjust how sensitive each axis is through curves, and invert any axis if the default direction feels wrong for your setup. Installation is a single Windows setup file downloaded from the project's releases page. It bundles everything needed, including the bridge that lets iRacing communicate with the head tracking output. A package manager install via winget and code signing are planned for upcoming releases. The project is released under the MIT License.

Copy-paste prompts

Prompt 1
How do I install OpenFOV on Windows and set up my webcam for head tracking in iRacing? Walk me through the first-run wizard.
Prompt 2
How do I calibrate OpenFOV's sensitivity curves for each axis so the camera movement feels natural while sim racing?
Prompt 3
How do I enable the smoothing filter in OpenFOV to reduce camera shake from small involuntary head movements?
Prompt 4
My OpenFOV camera view drifts during a race. How do I recenter it quickly without stopping?
Open on GitHub → Explain another repo

← epalosh on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.