mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-06 01:00:06 +02:00
frame-eyes, a separate project until now, becomes gaze/tracker:
- ft-eyegrab (was fe-bufprobe) copies the eye-camera frames, read-only, out of
SteamVR's eyetracking process. It runs as the system service
frametop-eyegrab.service, which gaze/tracker/install.sh installs to
/etc/frametop with sudo. It keeps only CAP_SYS_PTRACE, CAP_DAC_READ_SEARCH, and
CAP_CHOWN, and copies frames only while /dev/shm/frametop-eyes-want is fresh,
holding none of the tracker's buffers otherwise.
- ft-eyes (was fe-trackd) runs under ft-gazed in the dev container, with
build/venv's pinned numpy and OpenCV: while Eye tracker is Own tracker, or on
the probe's lease ("eyes SECONDS"). No sudo password or fe-live script at
run time any more.
- lab/ holds the research tools (ft-eyes-score, -e2e, -record, -replay,
-session) and findings.md. Recordings live outside the repo, in
~/.local/share/frametop/eyes/captures; .gitignore catches stray frame dumps.
Its socket is now @ft_eyes, its output /dev/shm/frametop-eyes-gaze, and its state
~/.local/state/frametop/gaze/eyes. On practice1 -> practice2 the whole live path
(ft-eyes-e2e) gives 1.30 deg median and 3.18 for the worst tenth, as before the
move (1.30, 3.21).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
867 B
Plaintext
15 lines
867 B
Plaintext
# frame-job settings (see `frame-job --help`): offline lab jobs (ft-eyes-score, ft-eyes-e2e)
|
|
# run on the 7i. Eye recordings may go there and nowhere else, and never into the repo: they
|
|
# live outside it, in ~/.local/share/frametop/eyes/captures, and on the 7i in
|
|
# ~/frame-compute/frametop-eyes/data/captures.
|
|
NAME=frametop-eyes
|
|
RUN_ON=7i
|
|
DATA="$HOME/.local/share/frametop/eyes/captures"
|
|
RESULTS=""
|
|
EXCLUDE=""
|
|
# The lab's Python on the 7i: build/venv from requirements.txt, as build.sh makes it on the Frame.
|
|
SETUP='cmp -s requirements.txt build/venv/requirements.done || { rm -rf build/venv && python3 -m venv build/venv && build/venv/bin/pip install -q --disable-pip-version-check -r requirements.txt && cp requirements.txt build/venv/requirements.done; }'
|
|
VENV=
|
|
# Live tools: they read the Frame's eye cameras.
|
|
LOCAL_ONLY="ft-eyes ft-eyes-record ft-eyes-session"
|