use fswebcam instead

This commit is contained in:
Alan Rager 2019-07-06 13:02:59 -07:00
parent 67bc656801
commit 0eb26c044d
2 changed files with 2 additions and 2 deletions

2
debian/control vendored
View file

@ -9,7 +9,7 @@ Vcs-Git: https://github.com/boltgolt/howdy
Package: howdy
Homepage: https://github.com/boltgolt/howdy
Architecture: all
Depends: ${misc:Depends}, curl|wget, python3, python3-pip, python3-dev, python3-setuptools, libpam-python, fswebcam, libopencv-dev, cmake, ffmpeg
Depends: ${misc:Depends}, curl|wget, python3, python3-pip, python3-dev, python3-setuptools, libpam-python, fswebcam, libopencv-dev, cmake, fswebcam
Recommends: libatlas-base-dev | libopenblas-dev | liblapack-dev
Suggests: nvidia-cuda-dev (>= 7.5)
Description: Howdy: Windows Hello style authentication for Linux.

2
debian/preinst vendored
View file

@ -74,7 +74,7 @@ for dev in devices:
# Let fswebcam keep the camera open in the background
sub = subprocess.Popen(
"ffmpeg -f v4l2 -framerate 25 -video_size 640_480 -i /dev/v4l/by-path/%s -f null -loglevel -8 /dev/null" % dev,
"fswebcam -l 1 -d /dev/v4l/by-path/%s" % dev,
shell=True,
preexec_fn=os.setsid,
stdout=subprocess.PIPE,