Live-editable tuning, hot-reloaded while the daemon runs #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "live-tuning"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Edit
$XDG_RUNTIME_DIR/deck-pose-tuning.toml, save, and the daemon applies it within half a second — crop, score floor, tracking thresholds and smoothing. A documented template is written on first run.Companion to the same feature in deck-slice (its PR #1); the two are built alike so there is one idea to learn.
Not reloadable, deliberately: camera device/resolution/format (needs the capture pipeline reopened), model path and size (needs the session rebuilt), sockets (clients attached). The template says so rather than accepting an edit that does nothing.
Safety: a file that does not parse leaves running values alone and logs why — it is edited over ssh while a game runs in front of people, and half-saved is its ordinary state. Every reload applies to the daemons STARTUP values, so deleting one line restores that one value rather than leaving the previous experiment in place.
Retuning leaves existing tracks alone: ids, appearance signatures and smoothing state survive, so a threshold can be judged against the same people who were standing there a moment ago.
7 new unit tests (133 total pass), plus a live daemon exercise: template written, edit applied without restart, deletion returning to defaults.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.