Apply suggestions from code review of branch unify-jpeg-capture
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
This commit is contained in:
parent
5bb742881f
commit
b46f429c1f
2 changed files with 5 additions and 2 deletions
|
|
@ -266,7 +266,7 @@ class BaseCamera(lt.Thing):
|
||||||
) -> JPEGBlob:
|
) -> JPEGBlob:
|
||||||
"""Acquire one image from the camera as a JPEG.
|
"""Acquire one image from the camera as a JPEG.
|
||||||
|
|
||||||
This will use the internal capture image functionally of capture_image if
|
This will use the internal capture image functionally of capture_image of
|
||||||
the specific camera being used.
|
the specific camera being used.
|
||||||
|
|
||||||
:param metadata_getter: LabThings GetThingStates dependency, automatically
|
:param metadata_getter: LabThings GetThingStates dependency, automatically
|
||||||
|
|
|
||||||
|
|
@ -550,7 +550,10 @@ class StreamingPiCamera2(BaseCamera):
|
||||||
it may miss one frame).
|
it may miss one frame).
|
||||||
|
|
||||||
If ``full`` resolution is requested, we will briefly pause the MJPEG stream and
|
If ``full`` resolution is requested, we will briefly pause the MJPEG stream and
|
||||||
reconfigure the camera to capture a full resolution image.
|
reconfigure the camera to capture a full resolution image. This will capture an
|
||||||
|
image at the full resolution of the current sensor mode. If the current sensor
|
||||||
|
mode bins or crops the image, this may not be the native resolution of the
|
||||||
|
camera sensor.
|
||||||
|
|
||||||
:param stream_name: (Optional) The PiCamera2 stream to use, should be one of
|
:param stream_name: (Optional) The PiCamera2 stream to use, should be one of
|
||||||
["main", "lores", "full"]. Default = "main". Note that "raw" images cannot
|
["main", "lores", "full"]. Default = "main". Note that "raw" images cannot
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue