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>
This commit is contained in:
parent
33c4221e87
commit
e8655c2161
12 changed files with 20 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue