summaryrefslogtreecommitdiff
path: root/utils/tuning/libtuning/ctt_awb.py
diff options
context:
space:
mode:
authorStefan Klug <stefan.klug@ideasonboard.com>2024-06-11 08:36:43 +0200
committerStefan Klug <stefan.klug@ideasonboard.com>2024-07-05 17:47:42 +0200
commitb1f3b3f08d365dc087508b573dd095808267e640 (patch)
tree8bcde4490b0bfddd9f874226cde8a1c82b9fbd56 /utils/tuning/libtuning/ctt_awb.py
parent388fe3bcf9ab5e6a5888dd573f590a84c2ac3e93 (diff)
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 <stefan.klug@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Diffstat (limited to 'utils/tuning/libtuning/ctt_awb.py')
-rw-r--r--utils/tuning/libtuning/ctt_awb.py4
1 files changed, 3 insertions, 1 deletions
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
"""