Face unlock: point at the webcam by its stable by-id path, not /dev/video0 (OBS virtual camera)
CI / test (push) Failing after 3m0s
CI / test (push) Failing after 3m0s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hjM4nPcLCbqchiA2V3
This commit is contained in:
1 parent
01bd8281d5
commit
1aabccba5d
2 files changed
+4
-3
No files matched your search
+1
-1
@@ -100,7 +100,7 @@ keyring or KWallet, which need the password.
|
||||
```ini
|
||||
[face]
|
||||
enabled = yes # no: the module stays quiet and PAM goes straight on to the password
|
||||
device = /dev/video0 # the camera; an IR camera is often /dev/video2
|
||||
device = /dev/v4l/by-id/usb-EMEET_...-video-index0 # the camera (by-id: /dev/videoN numbers change); an IR camera is often index1
|
||||
timeout = 4 # seconds to look before giving up
|
||||
threshold = 0.42 # SFace cosine similarity needed (OpenCV suggests 0.363; higher is stricter)
|
||||
matches = 2 # frames that must match
|
||||
|
||||
Reference in new issue
Block a user