Blackened files

This commit is contained in:
Joel Collins 2019-11-06 22:07:16 +00:00
parent be5ddb76ae
commit 4e7606aa0c
24 changed files with 200 additions and 120 deletions

View file

@ -61,9 +61,7 @@ class MyPluginClass(MicroscopePlugin):
for _ in range(n_images):
# Create a data stream to capture to
output = self.microscope.camera.new_image(
temporary=False
)
output = self.microscope.camera.new_image(temporary=False)
# Capture a still image from the Pi camera, into the data stream
self.microscope.camera.capture(output.file, use_video_port=True)