summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_macbeth_locator.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-02 03:32:00 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-13 16:58:07 +0300
commit965cae72a79e870f68c6bc28231d701f3518f246 (patch)
treeadf6cc520612443146c4a4b0b48369a31c05ae61 /utils/raspberrypi/ctt/ctt_macbeth_locator.py
parent6eb1bce9c77f604bb51d4a531013d328405a6c7b (diff)
utils: raspberrypi: ctt: Fix pycodestyle E251
E251 unexpected spaces around keyword / parameter equals Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_macbeth_locator.py')
-rw-r--r--utils/raspberrypi/ctt/ctt_macbeth_locator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/raspberrypi/ctt/ctt_macbeth_locator.py b/utils/raspberrypi/ctt/ctt_macbeth_locator.py
index 949e3686..55ab4fdb 100644
--- a/utils/raspberrypi/ctt/ctt_macbeth_locator.py
+++ b/utils/raspberrypi/ctt/ctt_macbeth_locator.py
@@ -487,8 +487,8 @@ def get_macbeth_chart(img, ref_data):
"""
clustering = cluster.AgglomerativeClustering(
n_clusters=None,
- compute_full_tree = True,
- distance_threshold = side*2
+ compute_full_tree=True,
+ distance_threshold=side*2
)
mac_mids_list = [x[0] for x in mac_mids]