From 1120c028c587f735b46361e55df804cc7179c6c2 Mon Sep 17 00:00:00 2001 From: David Plowman Date: Fri, 22 Aug 2025 13:37:08 +0100 Subject: [PATCH] utils: raspberrypi: ctt: Update vc4 tuning defaults The sharpening default values are updated to be slightly less aggressive, and exposure profiles are made slightly more consistent. This now matches the latest tuning changes. Signed-off-by: David Plowman Reviewed-by: Naushir Patuck Signed-off-by: Kieran Bingham --- utils/raspberrypi/ctt/ctt_vc4.py | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/utils/raspberrypi/ctt/ctt_vc4.py b/utils/raspberrypi/ctt/ctt_vc4.py index 7154e110..dd0c5414 100755 --- a/utils/raspberrypi/ctt/ctt_vc4.py +++ b/utils/raspberrypi/ctt/ctt_vc4.py @@ -55,12 +55,16 @@ json_template = { }, "exposure_modes": { "normal": { - "shutter": [100, 10000, 30000, 60000, 120000], - "gain": [1.0, 2.0, 4.0, 6.0, 6.0] + "shutter": [100, 10000, 30000, 60000, 66666], + "gain": [1.0, 2.0, 4.0, 6.0, 8.0] }, "short": { - "shutter": [100, 5000, 10000, 20000, 120000], - "gain": [1.0, 2.0, 4.0, 6.0, 6.0] + "shutter": [100, 5000, 10000, 20000, 66666], + "gain": [1.0, 2.0, 4.0, 6.0, 8.0] + }, + "long": { + "shutter": [ 100, 10000, 30000, 60000, 120000 ], + "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] } }, "constraint_modes": { @@ -120,6 +124,9 @@ json_template = { "rpi.ccm": { }, "rpi.sharpen": { + "threshold": 0.75, + "limit": 0.5, + "strength": 1.0 } }