Skip to content
Snippets Groups Projects
Commit 3f87fa5a authored by Alán Muñoz's avatar Alán Muñoz
Browse files

reduce min_distance for trap identification

parent 871801f4
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,7 @@ def identify_trap_locations(
coordinates = feature.peak_local_max(
transform.rescale(matched, 1 / downscale),
min_distance=int(trap_template.shape[0] * 0.80),
min_distance=int(trap_template.shape[0] * 0.60),
exclude_border=(trap_size // 3),
)
return coordinates
......
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