use fswebcam instead
This commit is contained in:
parent
67bc656801
commit
0eb26c044d
2 changed files with 2 additions and 2 deletions
2
debian/control
vendored
2
debian/control
vendored
|
|
@ -9,7 +9,7 @@ Vcs-Git: https://github.com/boltgolt/howdy
|
||||||
Package: howdy
|
Package: howdy
|
||||||
Homepage: https://github.com/boltgolt/howdy
|
Homepage: https://github.com/boltgolt/howdy
|
||||||
Architecture: all
|
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
|
Recommends: libatlas-base-dev | libopenblas-dev | liblapack-dev
|
||||||
Suggests: nvidia-cuda-dev (>= 7.5)
|
Suggests: nvidia-cuda-dev (>= 7.5)
|
||||||
Description: Howdy: Windows Hello style authentication for Linux.
|
Description: Howdy: Windows Hello style authentication for Linux.
|
||||||
|
|
|
||||||
2
debian/preinst
vendored
2
debian/preinst
vendored
|
|
@ -74,7 +74,7 @@ for dev in devices:
|
||||||
|
|
||||||
# Let fswebcam keep the camera open in the background
|
# Let fswebcam keep the camera open in the background
|
||||||
sub = subprocess.Popen(
|
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,
|
shell=True,
|
||||||
preexec_fn=os.setsid,
|
preexec_fn=os.setsid,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue