From 5aa736f4d2b853b6ac0f0c05525611e9976095eb Mon Sep 17 00:00:00 2001 From: smroid Date: Mon, 9 Dec 2024 23:50:28 -0800 Subject: [PATCH] minor --- examples/test_tetra3.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/test_tetra3.py b/examples/test_tetra3.py index af857c5..7fc2567 100644 --- a/examples/test_tetra3.py +++ b/examples/test_tetra3.py @@ -43,6 +43,7 @@ def draw_box(img_draw, centre, radius, **kwargs): # path = EXAMPLES_DIR / 'data' / 'large_fov' try: for impath in path.glob('*'): + # for impath in path.glob('img_110ms_20241209_042605.bmp'): try: with Image.open(str(impath)) as img: img = img.convert(mode='L') @@ -80,7 +81,8 @@ def draw_box(img_draw, centre, radius, **kwargs): trimmed_centroids = centroids[:30] solution = t3.solve_from_centroids( trimmed_centroids, (height, width), - return_matches=True, solve_timeout=5000) + return_matches=True, solve_timeout=5000, + distortion=0) if 'matched_centroids' in solution: # Draw a green box around each matched star.