diff --git a/main.py b/main.py index 0a1725c530afe6a2bf6e24694a16477933cde743..458451b69f9e7b461af479dd0c6e1299f0a5a96f 100644 --- a/main.py +++ b/main.py @@ -95,7 +95,7 @@ if with_plot: # -- Extentions print("\n--- Extension Detection") -enhanced_ext, ext_scales = extension_t.EnhancedForDetection(image_for_ext) +enhanced_ext, ext_scales = extension_t.EnhancedForDetection(image_for_ext, in_parallel=in_parallel) ext_nfo["coarse_map"] = extension_t.CoarseMap(enhanced_ext, ext_low_c, ext_high_c) ext_nfo["coarse_map"] = extension_t.FilteredCoarseMap(ext_nfo["coarse_map"]) ext_nfo["map"] = extension_t.FineMapFromCoarseMap(ext_nfo["coarse_map"]) diff --git a/main_prm.py b/main_prm.py index 2768a294141b4fdf0aea57516359141591b80f81..062077d2e85940fb5b9c659946c95c5f8aed1ea9 100644 --- a/main_prm.py +++ b/main_prm.py @@ -46,3 +46,5 @@ max_straight_sq_dist_c = 30 ** 2 max_weighted_length_c = 20.0 min_area_c = 1000 + +in_parallel = False