summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_ransac.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:57:30 +0300
commitda88fcec0d4930bbcec0a44f678f744bfa5334b8 (patch)
treee4c1c9315b4a9ddb1ba6996345918ec7e44df050 /utils/raspberrypi/ctt/ctt_ransac.py
parent93a133fb17ea6997a42e9d7f07e3c7785abc7d14 (diff)
utils: raspberrypi: ctt: Fix pycodestyle E201 and E202
E201 whitespace after '(' E201 whitespace after '{' E201 whitespace after '[' E202 whitespace before '}' E202 whitespace before ']' 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_ransac.py')
-rw-r--r--utils/raspberrypi/ctt/ctt_ransac.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/raspberrypi/ctt/ctt_ransac.py b/utils/raspberrypi/ctt/ctt_ransac.py
index 62d5cde8..a1513625 100644
--- a/utils/raspberrypi/ctt/ctt_ransac.py
+++ b/utils/raspberrypi/ctt/ctt_ransac.py
@@ -25,7 +25,7 @@ def get_square_verts(c_err = 0.05, scale = scale):
c3 = (x_max, y_max)
c4 = (x_max, 0)
mac_norm = np.array((c1, c2, c3, c4), np.float32)
- mac_norm = np.array([ mac_norm ])
+ mac_norm = np.array([mac_norm])
square_verts = []
square_0 = np.array(((0, 0), (0, side),