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
+3
-2
@@ -4,9 +4,10 @@
|
||||
enabled = yes
|
||||
# opencv: YuNet finds the face, SFace compares it (models from `chandra-face fetch-models`).
|
||||
backend = opencv
|
||||
# The camera. An infrared camera (often /dev/video2 on Windows Hello laptops) works in the dark
|
||||
# The camera. Use a /dev/v4l/by-id/ path: /dev/videoN numbers change between boots, and OBS's
|
||||
# virtual camera can take video0. An infrared camera (often /dev/video2 on Windows Hello laptops) works in the dark
|
||||
# and is much harder to fool with a photo than the normal webcam.
|
||||
device = /dev/video0
|
||||
device = /dev/v4l/by-id/usb-EMEET_EMEET_SmartCam_C960_A260401000205719-video-index0
|
||||
# Seconds to look for a face before PAM moves on to the password.
|
||||
timeout = 4
|
||||
# How alike two faces must be (cosine similarity of SFace embeddings, -1..1). OpenCV suggests
|
||||
|
||||
Reference in new issue
Block a user