Optimised captures by using greenlets for disk IO
This commit is contained in:
parent
1a0ede609d
commit
7c9f42f7f3
8 changed files with 86 additions and 41 deletions
|
|
@ -31,7 +31,7 @@ class TestCaptureMethods(unittest.TestCase):
|
|||
with camera.new_image() as output:
|
||||
|
||||
camera.capture(
|
||||
output.file, use_video_port=use_video_port, resize=resize
|
||||
output, use_video_port=use_video_port, resize=resize
|
||||
)
|
||||
|
||||
# Ensure file deletion fails and returns False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue