Apply suggestions from code review of branch prevent-broken-frames-ending-scans
Co-authored-by: Beth Probert <beth_probert@outlook.com>
This commit is contained in:
parent
6fa4e4dc64
commit
9257c4489e
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ class BaseCamera(lt.Thing):
|
|||
) -> JPEGBlob:
|
||||
"""Acquire one image from the preview stream and return as blob of JPEG data.
|
||||
|
||||
Note: in rare cases the JPEG stream may be broken. This cab cause an OS error
|
||||
Note: in rare cases the JPEG stream may be broken. This can cause an OS error
|
||||
when loading the image. If loading with PIL, as long as the header data is
|
||||
complete, this error will not be raised until the data is accessed. Consider
|
||||
using ``grab_jpeg_as_array`` instead.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue