boltgolt / howdy

🛡️ Windows Hello™ style facial authentication for Linux
MIT License
5.9k stars 307 forks source link

Add configurable device frame rate #834

Closed Joseph-DiGiovanni closed 1 year ago

Joseph-DiGiovanni commented 1 year ago

Currently OpenCV defaults to the first detected (and sometimes lowest) frame rate. This is bad enough for detection on its own, but some IR emitters do not function properly at all frame rates the camera may support (like my surface laptop studio). I've added a device_fps option to the config to set this manually, as well as use the highest frame rate by default on new installs.

boltgolt commented 1 year ago

Great idea, thanks!