Wire up ONNX RetinaFace detector and MobileFaceNet embeddings in the CLI and auth pipeline. Add IR camera detection for Windows Hello-style "Integrated I" cameras and greyscale-only format heuristic. Add histogram normalization for underexposed IR frames from low-power emitters. - Add `onnx` feature flag to CLI crate forwarding to daemon - Wire ONNX detector into `detect` command with fallback to simple detector - Fix IR camera detection for Chicony "Integrated I" naming pattern - Add `normalize_if_dark()` for underexposed IR frames in auth pipeline - Load user config from ~/.config/linux-hello/ as fallback - Update systemd service for IR emitter integration and camera access - Add system installation script and ONNX runtime installer - Update .gitignore for local dev artifacts Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
33 lines
768 B
Desktop File
33 lines
768 B
Desktop File
[Unit]
|
|
Description=Linux Hello Face Authentication Daemon
|
|
Documentation=https://github.com/linux-hello/linux-hello
|
|
After=multi-user.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment=ORT_DYLIB_PATH=/usr/local/lib/linux-hello/libonnxruntime.so
|
|
Environment=HOME=/root
|
|
ExecStartPre=-/usr/local/bin/linux-enable-ir-emitter run
|
|
ExecStart=/usr/libexec/linux-hello-daemon
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
# Security hardening
|
|
PrivateTmp=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
LockPersonality=true
|
|
|
|
# Allow Unix sockets for IPC and D-Bus
|
|
RestrictAddressFamilies=AF_UNIX
|
|
|
|
# State directory
|
|
StateDirectory=linux-hello
|
|
RuntimeDirectory=linux-hello
|
|
ConfigurationDirectory=linux-hello
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|