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
|
@ -8,6 +8,7 @@ import numpy as np
|
|||
|
||||
scale = 2
|
||||
|
||||
|
||||
"""
|
||||
constructs normalised macbeth chart corners for ransac algorithm
|
||||
"""
|
||||
|
@ -57,6 +58,7 @@ def get_square_verts(c_err=0.05, scale=scale):
|
|||
# print(square_verts)
|
||||
return np.array(square_verts, np.float32), mac_norm
|
||||
|
||||
|
||||
def get_square_centres(c_err=0.05, scale=scale):
|
||||
"""
|
||||
define macbeth square centres
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue