summaryrefslogtreecommitdiff
path: root/utils/raspberrypi
diff options
context:
space:
mode:
Diffstat (limited to 'utils/raspberrypi')
-rw-r--r--utils/raspberrypi/ctt/ctt_macbeth_locator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/raspberrypi/ctt/ctt_macbeth_locator.py b/utils/raspberrypi/ctt/ctt_macbeth_locator.py
index 35c84807..cae1d334 100644
--- a/utils/raspberrypi/ctt/ctt_macbeth_locator.py
+++ b/utils/raspberrypi/ctt/ctt_macbeth_locator.py
@@ -597,10 +597,10 @@ def get_macbeth_chart(img, ref_data):
ref_cents.append(ref_cent)
"""
- At least three squares need to have voted for a centre in
+ At least four squares need to have voted for a centre in
order for a transform to be found
"""
- if len(sq_cents) < 3:
+ if len(sq_cents) < 4:
raise MacbethError(
'\nWARNING: No macbeth chart found!'
'\nNot enough squares found'