From b0d5426f5b182a46c3f4118f2bd5cf89222ee50c Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Thu, 17 Jan 2019 10:22:41 +0000 Subject: [PATCH] Bayer capture now optional --- openflexure_microscope/api/v1/blueprints/camera/capture.py | 6 +++++- openflexure_microscope/camera/pi.py | 7 ++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/openflexure_microscope/api/v1/blueprints/camera/capture.py b/openflexure_microscope/api/v1/blueprints/camera/capture.py index 69c3214b..8e4b1d28 100644 --- a/openflexure_microscope/api/v1/blueprints/camera/capture.py +++ b/openflexure_microscope/api/v1/blueprints/camera/capture.py @@ -70,6 +70,7 @@ class ListAPI(MicroscopeView): "filename": "myfirstcapture", "keep_on_disk": true, "use_video_port": true, + "bayer": true, "size": { "x": 640, "y": 480 @@ -81,6 +82,7 @@ class ListAPI(MicroscopeView): :