Skip to content

Commit 4c823a8

Browse files
committed
Unsuppress sdterr from fswebcam
1 parent 8c3039b commit 4c823a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

learn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def captureFrame(delay):
2121
global encodings
2222

2323
# 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"))
24+
subprocess.call(["fswebcam", "-S", str(delay), "--no-banner", "-d", "/dev/video" + str(config.get("video", "device_id")), tmp_file])
2525

2626
# Get the faces in htat image
2727
ref = face_recognition.load_image_file(tmp_file)

0 commit comments

Comments
 (0)