alpha
Login
or
Join now
isaaccorbrey.com
/
pareidolia
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
A facial recognition login service for Linux.
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
pareidolia
/
crates
/
core
/
src
/
enrollment
/
at
main
1 file
Isaac Corbrey
cli: Size IR capture burst from persisted calibration
3mo ago
0328e143
store.rs
cli: Size IR capture burst from persisted calibration Closes the calibration loop: `enroll` and `test` now read the calibration store and size their IR capture burst from the detected `IrCaptureMode::min_burst` instead of always using `DEFAULT_IR_BURST`. On the strobed XPS 13 that drops the burst from 4 frames to the minimal 2, shaving capture time; an uncalibrated or unmatched device transparently keeps the safe default. `pipeline_runtime::resolve_ir_burst` does the resolution via `resolve_calibration`, handling every `CalibrationMatch`: - `Exact` / `MovedPort` — use the calibrated burst. `MovedPort` (device replugged to another port, card name still unique) also refreshes the stored record's bus so the next run is an `Exact` hit. - `Ambiguous` — several identically-named cameras connected; warn and fall back to the default burst. - `None` — uncalibrated; use the default silently. Calibration being an optimization, every failure path (unreadable store, ambiguous match, write-back failure on `MovedPort`) degrades to the default burst with at most a warning, never an error. `EnrollmentStore::root()` is added so the CLI can locate the sibling calibration store in the same directory without re-resolving flags.
3 months ago