|
|
@ -64,7 +64,7 @@ class Photography(Bureau):
|
|
|
|
#subprocess.check_output(cmd1.split())
|
|
|
|
#subprocess.check_output(cmd1.split())
|
|
|
|
print(os.getcwd())
|
|
|
|
print(os.getcwd())
|
|
|
|
modpath = os.path.dirname(__file__)
|
|
|
|
modpath = os.path.dirname(__file__)
|
|
|
|
mjpg = os.path.join(modpath, "..", "lib", "mjpg-streamer",
|
|
|
|
mjpg = os.path.join(modpath, "..", "..", "lib", "mjpg-streamer",
|
|
|
|
"mjpg-streamer-experimental", "mjpg_streamer")
|
|
|
|
"mjpg-streamer-experimental", "mjpg_streamer")
|
|
|
|
cmd = mjpg.split() + ["-i", "'input_uvc.so -r 3264x2448 -n'", "-o", "'output_file.so -f /tmp/webcam -d 500 -s 1'"]
|
|
|
|
cmd = mjpg.split() + ["-i", "'input_uvc.so -r 3264x2448 -n'", "-o", "'output_file.so -f /tmp/webcam -d 500 -s 1'"]
|
|
|
|
|
|
|
|
|
|
|
|