Commit fbc05528 authored by Matthew Gall's avatar Matthew Gall

Removed erroneous -vf flag, that resulted in flipped images

parent e5a3aab5
......@@ -62,7 +62,7 @@ def ultrasonic():
def cheese():
response.content_type = 'image/jpeg'
response.cache_control = 'no-store'
with subprocess.Popen(["raspistill", "-vf", "-w", "400", "-h", "300", "-o", "-"], stdout=subprocess.PIPE) as proc:
with subprocess.Popen(["raspistill", "-w", "400", "-h", "300", "-o", "-"], stdout=subprocess.PIPE) as proc:
return proc.stdout.read()
return run_output.stdout
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment