Skip to content

Commit 40f29c6

Browse files
Updated comment on capture_array
1 parent a3fa0c4 commit 40f29c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/labthings_picamera2/thing.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,9 @@ def capture_array(
575575
A TimeoutError is raised if this time is exceeded during capture.
576576
Default = 0.9s, lower than the 1s timeout default in picamera yaml settings
577577
"""
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
578581
if stream_name == "full":
579582
with self.picamera(pause_stream=True) as picam2:
580583
capture_config = picam2.create_still_configuration()

0 commit comments

Comments
 (0)