diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-02 03:32:00 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-13 17:00:25 +0300 |
commit | e8655c2161a97261971ef19621a34651980b76d6 (patch) | |
tree | 721b342a6e07f9b12b4bc4fd33f887b39148b102 /utils/raspberrypi/ctt/ctt_macbeth_locator.py | |
parent | 33c4221e8700e15db55994e510d86225d6cd9ece (diff) |
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 <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.py | 2 |
1 files changed, 2 insertions, 0 deletions
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, |