We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3fa0c4 commit 40f29c6Copy full SHA for 40f29c6
src/labthings_picamera2/thing.py
@@ -575,6 +575,9 @@ def capture_array(
575
A TimeoutError is raised if this time is exceeded during capture.
576
Default = 0.9s, lower than the 1s timeout default in picamera yaml settings
577
"""
578
+
579
+ # This was slower than capture_image for our use case, but directly returning
580
+ # an image as an array is still a useful feature
581
if stream_name == "full":
582
with self.picamera(pause_stream=True) as picam2:
583
capture_config = picam2.create_still_configuration()
0 commit comments