From e8655c2161a97261971ef19621a34651980b76d6 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 2 May 2020 03:32:00 +0300 Subject: utils: raspberrypi: ctt: Fix pycodestyle E302 E302 expected 2 blank lines, found 0 Note that issues are still flagged, due to the use of docstrings as multi-lines comments. This will be addressed separately. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: David Plowman --- utils/raspberrypi/ctt/ctt_macbeth_locator.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils/raspberrypi/ctt/ctt_macbeth_locator.py') diff --git a/utils/raspberrypi/ctt/ctt_macbeth_locator.py b/utils/raspberrypi/ctt/ctt_macbeth_locator.py index 6567490c..35c84807 100644 --- a/utils/raspberrypi/ctt/ctt_macbeth_locator.py +++ b/utils/raspberrypi/ctt/ctt_macbeth_locator.py @@ -13,6 +13,7 @@ NOTE: some custom functions have been used here to make the code more readable. These are defined in tools.py if they are needed for reference. """ + """ Some inconsistencies between packages cause runtime warnings when running the clustering algorithm. This catches these warnings so they don't flood the @@ -291,6 +292,7 @@ def find_macbeth(Cam, img, mac_config=(0, 0)): return(coords_fit) + def get_macbeth_chart(img, ref_data): """ function returns coordinates of macbeth chart vertices and square centres, -- cgit v1.2.1