Fix HQ camera capture and streaming modes.

This commit is contained in:
Julian Stirling 2026-06-04 21:33:36 +01:00
parent 2faf324a59
commit c7d84e2674

View file

@ -1022,9 +1022,10 @@ class PiCameraHQ(StreamingPiCamera2):
), ),
"full_resolution": PiCamera2StreamingMode( "full_resolution": PiCamera2StreamingMode(
description=( description=(
"Streaming the camera in 12MP full resolution. The preview stream " "Streaming the camera with an 8MP area in full-resolution area "
"sent to the UI will be the low resolution (lores) stream. " "from the centre of the 12MP sensor.. The preview stream sent to "
"This allows better image capture at expense of preview quality." "the UI will be the low resolution (lores) stream. This allows "
"better image capture at expense of preview quality."
), ),
main_resolution=(2800, 2800), main_resolution=(2800, 2800),
lores_resolution=(350, 350), lores_resolution=(350, 350),
@ -1041,15 +1042,17 @@ class PiCameraHQ(StreamingPiCamera2):
return { return {
"standard": PiCamera2CaptureMode( "standard": PiCamera2CaptureMode(
description=( description=(
"The standard mode, 3MP image created from downsampling an 12MP " "The standard mode, 2MP image created from downsampling an 8MP "
"capture." "capture from the centre of the 12MP sensor."
), ),
save_resolution=(1640, 1232), save_resolution=(1400, 1400),
streaming_mode="full_resolution", streaming_mode="full_resolution",
stream_name="main", stream_name="main",
), ),
"full": PiCamera2CaptureMode( "full": PiCamera2CaptureMode(
description="A full resolution 12MP capture.", description=(
"An 8MP full resolution capture from the centre of the 12MP sensor."
),
streaming_mode="full_resolution", streaming_mode="full_resolution",
stream_name="main", stream_name="main",
), ),