lsxi77777 commited on
Commit
0f1f833
·
1 Parent(s): 8d55ca3
Files changed (2) hide show
  1. ui/config.yaml +2 -2
  2. ui/utils.py +2 -2
ui/config.yaml CHANGED
@@ -4,7 +4,7 @@ server:
4
 
5
  defaults:
6
  setting_threshold: 0.1
7
- max_keypoints: 2000
8
  keypoint_threshold: 0.0005
9
  enable_ransac: true
10
  ransac_method: CV2_USAC_MAGSAC
@@ -12,7 +12,7 @@ defaults:
12
  ransac_confidence: 0.999
13
  ransac_max_iter: 2000
14
  ransac_num_samples: 4
15
- match_threshold: 0.
16
  setting_geometry: Homography
17
 
18
  matcher_zoo:
 
4
 
5
  defaults:
6
  setting_threshold: 0.1
7
+ max_keypoints: 2048
8
  keypoint_threshold: 0.0005
9
  enable_ransac: true
10
  ransac_method: CV2_USAC_MAGSAC
 
12
  ransac_confidence: 0.999
13
  ransac_max_iter: 2000
14
  ransac_num_samples: 4
15
+ match_threshold: 0.1
16
  setting_geometry: Homography
17
 
18
  matcher_zoo:
ui/utils.py CHANGED
@@ -41,11 +41,11 @@ DEFAULT_DEFAULT_KEYPOINT_THRESHOLD = 0.0005
41
  DEFAULT_ENABLE_RANSAC = True
42
  DEFAULT_RANSAC_METHOD = "CV2_USAC_MAGSAC"
43
  DEFAULT_RANSAC_REPROJ_THRESHOLD = 8
44
- DEFAULT_RANSAC_CONFIDENCE = 0.9999
45
  DEFAULT_RANSAC_MAX_ITER = 2000
46
  DEFAULT_MIN_NUM_MATCHES = 4
47
  DEFAULT_MATCHING_THRESHOLD = 0.2
48
- DEFAULT_SETTING_GEOMETRY = "Fundamental"
49
  GRADIO_VERSION = gr.__version__.split(".")[0]
50
  MATCHER_ZOO = None
51
 
 
41
  DEFAULT_ENABLE_RANSAC = True
42
  DEFAULT_RANSAC_METHOD = "CV2_USAC_MAGSAC"
43
  DEFAULT_RANSAC_REPROJ_THRESHOLD = 8
44
+ DEFAULT_RANSAC_CONFIDENCE = 0.999
45
  DEFAULT_RANSAC_MAX_ITER = 2000
46
  DEFAULT_MIN_NUM_MATCHES = 4
47
  DEFAULT_MATCHING_THRESHOLD = 0.2
48
+ DEFAULT_SETTING_GEOMETRY = "Homography"
49
  GRADIO_VERSION = gr.__version__.split(".")[0]
50
  MATCHER_ZOO = None
51