Realcat commited on
Commit
8199c2c
1 Parent(s): 2f1d0e2

update: reset logs

Browse files
Files changed (2) hide show
  1. ui/app_class.py +1 -0
  2. ui/utils.py +5 -0
ui/app_class.py CHANGED
@@ -515,6 +515,7 @@ class ImageMatchingApp:
515
  key: str = list(self.matcher_zoo.keys())[
516
  0
517
  ] # Get the first key from matcher_zoo
 
518
  return (
519
  None, # image0: Optional[np.ndarray]
520
  None, # image1: Optional[np.ndarray]
 
515
  key: str = list(self.matcher_zoo.keys())[
516
  0
517
  ] # Get the first key from matcher_zoo
518
+ flush_logs()
519
  return (
520
  None, # image0: Optional[np.ndarray]
521
  None, # image1: Optional[np.ndarray]
ui/utils.py CHANGED
@@ -856,6 +856,11 @@ def run_matching(
856
  ransac_confidence (float, optional): RANSAC confidence level.
857
  ransac_max_iter (int, optional): RANSAC maximum number of iterations.
858
  choice_geometry_type (str, optional): setting of geometry estimation.
 
 
 
 
 
859
 
860
  Returns:
861
  tuple:
 
856
  ransac_confidence (float, optional): RANSAC confidence level.
857
  ransac_max_iter (int, optional): RANSAC maximum number of iterations.
858
  choice_geometry_type (str, optional): setting of geometry estimation.
859
+ matcher_zoo (Dict[str, Any], optional): matcher zoo. Defaults to None.
860
+ force_resize (bool, optional): force resize. Defaults to False.
861
+ image_width (int, optional): image width. Defaults to 640.
862
+ image_height (int, optional): image height. Defaults to 480.
863
+ use_cached_model (bool, optional): use cached model. Defaults to False.
864
 
865
  Returns:
866
  tuple: