Skip to content

Build your own eye tracking for VR.

EyeTrackVR is an open-source eye tracker you build yourself. A small camera for each eye fits inside your headset, so your avatar's eyes move with yours in VRChat and other social VR apps.

A fingertip pressing a small camera board onto a XIAO ESP32 Sense board

How it works

  1. Cameras watch your eyes

    A small camera for each eye sits inside the headset, lit by low-power infrared LEDs.

  2. Your PC does the tracking

    The cameras stream over USB or Wi-Fi to the EyeTrackVR app, which works out where you are looking and how open your eyes are.

  3. Your avatar looks where you look

    The app sends the result over OSC to VRChat, or anything else that speaks OSC.

The build, step by step

Nine guides, from ordering parts to a working tracker.

  1. Parts listWhat to buy, and whether to go wired or wireless.
  2. 3D printed mountsFind a mount for your headset.
  3. Prepare the camerasRemove the IR filter so the cameras can see infrared.
  4. Prepare the XIAO ESP32Attach the camera and antenna to each board.
  5. Set up the IR LEDsPick the LED guide that matches your kit.
  6. Flash the firmwareLoad the firmware onto each board with the flashing tool.
  7. Assemble the trackerFit everything into the mount and wire it up. This guide is still being written.
  8. Set up the appInstall the app and calibrate it for your eyes.
  9. Set up your avatarGet a VRChat avatar ready for eye tracking.

Before you start

More answers in the FAQ.

Will it fit my headset?
Very likely. It works with any headset the hardware fits inside, using a community mount or one you design yourself. See the mounts
Is infrared light safe for my eyes?
Infrared can harm your eyes above a certain power. The official kits are designed around published exposure limits, so read the safety page before you power anything and never bypass a safety feature. Read LED safety
What does it cost?
It depends on the boards and cameras you pick. The parts list prices every option. Open the parts list
Where do my eye images go?
Nowhere. The app runs on your own PC and collects no data.

Stuck, or want to show off your build?

Builders help each other out on Discord. The hardware, firmware and app are all on GitHub.

Released under the MIT License.