|
|
@ -62,6 +62,7 @@ class Photography(Bureau):
|
|
|
|
#cmd1 = "uvccapture -d/dev/video1 -x320 -y240 -o /dev/null"
|
|
|
|
#cmd1 = "uvccapture -d/dev/video1 -x320 -y240 -o /dev/null"
|
|
|
|
#cmd2 = "/usr/local/bin/uvccapture -m -x3264 -y2448 -o" + tmpimg.name
|
|
|
|
#cmd2 = "/usr/local/bin/uvccapture -m -x3264 -y2448 -o" + tmpimg.name
|
|
|
|
#subprocess.check_output(cmd1.split())
|
|
|
|
#subprocess.check_output(cmd1.split())
|
|
|
|
|
|
|
|
print(os.getcwd())
|
|
|
|
cmd = "../../lib/mjpg_streamer/mjpg-streamer-experimental/mjpg_streamer -i 'input_uvc.so -r 3264x2448 -n' -o 'output_file.so -f /tmp/webcam -d 500 -s 1'"
|
|
|
|
cmd = "../../lib/mjpg_streamer/mjpg-streamer-experimental/mjpg_streamer -i 'input_uvc.so -r 3264x2448 -n' -o 'output_file.so -f /tmp/webcam -d 500 -s 1'"
|
|
|
|
|
|
|
|
|
|
|
|
proc = subprocess.Popen(cmd.split())
|
|
|
|
proc = subprocess.Popen(cmd.split())
|
|
|
|