We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c3039b commit 4c823a8Copy full SHA for 4c823a8
1 file changed
learn.py
@@ -21,7 +21,7 @@ def captureFrame(delay):
21
global encodings
22
23
# Call fswebcam to save a frame to /tmp with a set delay
24
- subprocess.call(["fswebcam", "-S", str(delay), "--no-banner", "-d", "/dev/video" + str(config.get("video", "device_id")), tmp_file], stderr=open(os.devnull, "wb"))
+ subprocess.call(["fswebcam", "-S", str(delay), "--no-banner", "-d", "/dev/video" + str(config.get("video", "device_id")), tmp_file])
25
26
# Get the faces in htat image
27
ref = face_recognition.load_image_file(tmp_file)
0 commit comments