Commit d2188e7a authored by Hidde Leistra's avatar Hidde Leistra

Fix bad image for corner detection test

parent 8702feae
Pipeline #17993 passed with stages
in 3 minutes and 6 seconds
......@@ -45,10 +45,13 @@ test_args = [
('sample_exam.jpg', 4),
('shifted.jpg', 4),
('tilted.jpg', 4),
('tilted_three_corners.jpg', 3),
('messy_three_corners.jpg', 3),
('blank.jpg', 0)]
@pytest.mark.parametrize('name,expected', test_args,
ids=list(map(lambda e: f"{e[0]} ({e[1]} markers)", test_args)))
@pytest.mark.parametrize(
'name,expected', test_args,
ids=list(map(lambda e: f"{e[0]} ({e[1]} markers)", test_args)))
def test_detect_enough_cornermarkers(name, expected, datadir):
image = generate_image(name, datadir)
keypoints = scans.find_corner_marker_keypoints(image)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment