Skip to content

Commit

Permalink
update: reset logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincentqyw committed Jul 27, 2024
1 parent 249fb60 commit cc55ce2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions ui/app_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ def ui_reset_state(
key: str = list(self.matcher_zoo.keys())[
0
] # Get the first key from matcher_zoo
flush_logs()
return (
None, # image0: Optional[np.ndarray]
None, # image1: Optional[np.ndarray]
Expand Down
5 changes: 5 additions & 0 deletions ui/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,11 @@ def run_matching(
ransac_confidence (float, optional): RANSAC confidence level.
ransac_max_iter (int, optional): RANSAC maximum number of iterations.
choice_geometry_type (str, optional): setting of geometry estimation.
matcher_zoo (Dict[str, Any], optional): matcher zoo. Defaults to None.
force_resize (bool, optional): force resize. Defaults to False.
image_width (int, optional): image width. Defaults to 640.
image_height (int, optional): image height. Defaults to 480.
use_cached_model (bool, optional): use cached model. Defaults to False.
Returns:
tuple:
Expand Down

0 comments on commit cc55ce2

Please sign in to comment.