From b1f3b3f08d365dc087508b573dd095808267e640 Mon Sep 17 00:00:00 2001 From: Stefan Klug Date: Tue, 11 Jun 2024 08:36:43 +0200 Subject: libtuning: Fix imports Fix imports to match new structure in the files copied from Raspberry Pi. Add missing imports in macbeth.py. Add missing dependencies to requirements.txt. Signed-off-by: Stefan Klug Reviewed-by: Paul Elder Reviewed-by: Laurent Pinchart Reviewed-by: Daniel Scally --- utils/tuning/libtuning/ctt_awb.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'utils/tuning/libtuning/ctt_awb.py') diff --git a/utils/tuning/libtuning/ctt_awb.py b/utils/tuning/libtuning/ctt_awb.py index 5ba6f978..f3a1ce77 100644 --- a/utils/tuning/libtuning/ctt_awb.py +++ b/utils/tuning/libtuning/ctt_awb.py @@ -4,10 +4,12 @@ # # camera tuning tool for AWB -from ctt_image_load import * import matplotlib.pyplot as plt from bisect import bisect_left from scipy.optimize import fmin +import numpy as np + +from .image import Image """ -- cgit v1.2.1