Skip to content
Snippets Groups Projects
Commit 5155c01a authored by Ruben Young On's avatar Ruben Young On
Browse files

Added small correction

parent da242ceb
No related branches found
No related tags found
1 merge request!17Add pregrading
Pipeline #17974 failed
......@@ -58,6 +58,9 @@ def fix_corner_markers(corner_keypoints, shape):
Coordinates of the top left corner marker
"""
if len(corner_keypoints) == 4:
return corner_keypoints
if len(corner_keypoints) < 3:
raise RuntimeError("Fewer then 3 corner markers found")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment