summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_ransac.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_ransac.py')
-rw-r--r--utils/raspberrypi/ctt/ctt_ransac.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/raspberrypi/ctt/ctt_ransac.py b/utils/raspberrypi/ctt/ctt_ransac.py
index 39227544..11515a4f 100644
--- a/utils/raspberrypi/ctt/ctt_ransac.py
+++ b/utils/raspberrypi/ctt/ctt_ransac.py
@@ -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