mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-06 04:04:09 +02:00
Add gaze: eye tracking as pointer input, with a probe to calibrate it
ft-gaze reads the Frame's eye tracker (SteamVR's eyetracking action and the two gaze sets in eye-server.mmap, read only) and prints where the gaze lands on the Frametop screens. ft-gazeprobe is a GTK playground on top of it: a Vision Pro style calibration run, an accuracy test, refining the correction model from logged points, and click, drag, and snap practice that learn the tracker's error on the fly. It also follows SteamVR's eyetracking log for restarts and the clicks SteamVR calibrates itself from, which it keeps only in memory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e84ac22313
commit
9ecd9bb19d
8 files changed
+3608
No files matched your search
Executable
+3032
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Frametop Gaze Probe
|
||||
GenericName=Eye tracking playground
|
||||
Comment=How accurate the headset's eye tracking is on your screens, and gaze clicking with calibration
|
||||
Exec=@REPO@/gaze/probe/ft-gazeprobe
|
||||
Icon=view-visible
|
||||
Categories=Utility;Development;
|
||||
Keywords=eye;gaze;tracking;calibration;pointer;steamvr;frametop;
|
||||
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Install (or remove) Frametop Gaze Probe in the desktop's app menu, and build ft-gaze.
|
||||
# Usage: gaze/probe/install.sh [install|uninstall]
|
||||
set -euo pipefail
|
||||
root=$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)
|
||||
. "$root/scripts/_env.sh"
|
||||
"$root/scripts/sync.sh" >/dev/null
|
||||
apps=.local/share/applications
|
||||
case ${1:-install} in
|
||||
install)
|
||||
"$root/gaze/build.sh"
|
||||
fill_template "$root/gaze/probe/ft-gazeprobe.desktop" | on_frame "mkdir -p ~/$apps && cat > ~/$apps/ft-gazeprobe.desktop"
|
||||
on_frame "chmod +x gaze/probe/ft-gazeprobe"
|
||||
echo "installed: Frametop Gaze Probe" ;;
|
||||
uninstall)
|
||||
on_frame "rm -f ~/$apps/ft-gazeprobe.desktop; echo removed" ;;
|
||||
*) echo "usage: $0 [install|uninstall]" >&2; exit 2 ;;
|
||||
esac
|
||||
Reference in new issue
Block a user