feat: IR camera auto-detection, format fixes, CI test fix#1
Merged
Conversation
- Auto-detect first grayscale (Y800/GREY) camera across /dev/video0..15 - PAM module, enroll, sim-test and camera-test all use auto-detect by default - Manual override: device=/dev/videoN PAM arg or CLI positional arg - Fix cargo fmt issues across all source files - Fix CI: use cargo test --lib (cdylib crate-type skips default cargo test) - Fix README clone URL (4ni1ak instead of pervane)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/dev/video0..15— no more hardcoded/dev/video2rustface-enroll,rustface-sim-testandcamera-testall use auto-detect by defaultdevice=/dev/videoNas PAM arg or CLI positional argcargo fmtissues across all source filescargo test --lib(cdylib crate-type causescargo testto skip lib tests)Test plan
cargo run --bin camera-testauto-detects IR camera without argssudo rustface-enroll $USERauto-detects camerasudoface auth still works end-to-end