From 23e15e72f9745d4a11f41b366ff3c9e3dca51bf0 Mon Sep 17 00:00:00 2001 From: David Plowman Date: Thu, 28 May 2020 15:51:32 +0100 Subject: ipa: rpi: Add "focus" algorithm Adds FocusStatus to the image metadata, containing contrast measurements across the image. Optionally also prints a contrast measure to the console, to aid in manual adjustment of the lens. Note that it is not an actual auto-focus algorithm that can drive a lens! Signed-off-by: David Plowman Signed-off-by: Naushir Patuck Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/ipa/raspberrypi/data/imx477.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ipa/raspberrypi/data/imx477.json') diff --git a/src/ipa/raspberrypi/data/imx477.json b/src/ipa/raspberrypi/data/imx477.json index dce5234f..389e8ce8 100644 --- a/src/ipa/raspberrypi/data/imx477.json +++ b/src/ipa/raspberrypi/data/imx477.json @@ -412,5 +412,9 @@ "rpi.sharpen": { + }, + "rpi.focus": + { + "print": 1 } } -- cgit v1.2.1