Skip to content

Commit

Permalink
Use Colmap verifier
Browse files Browse the repository at this point in the history
  • Loading branch information
travisdriver committed Oct 15, 2024
1 parent c04387b commit 1ce2e2e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions gtsfm/configs/correspondence/sift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ CorrespondenceGenerator:
detector_descriptor:
_target_: gtsfm.frontend.cacher.detector_descriptor_cacher.DetectorDescriptorCacher
detector_descriptor_obj:
_target_: gtsfm.frontend.detector_descriptor.colmap_sift.ColmapSIFTDetectorDescriptor
#_target_: gtsfm.frontend.detector_descriptor.sift.SIFTDetectorDescriptor
#_target_: gtsfm.frontend.detector_descriptor.colmap_sift.ColmapSIFTDetectorDescriptor
_target_: gtsfm.frontend.detector_descriptor.sift.SIFTDetectorDescriptor
max_keypoints: 5000

matcher:
Expand Down
2 changes: 1 addition & 1 deletion gtsfm/configs/unified.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ SceneOptimizer:
bundle_adjust_2view_maxiters: 100

verifier:
_target_: gtsfm.frontend.verifier.ransac.Ransac
_target_: gtsfm.frontend.verifier.loransac.LoRansac
use_intrinsics_in_verification: True
estimation_threshold_px: 4 # for H/E/F estimators

Expand Down
6 changes: 3 additions & 3 deletions gtsfm/frontend/verifier/loransac.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@


MIN_INLIER_RATIO = 0.01
MIN_NUM_TRIALS = 100000
MAX_NUM_TRIALS = 1000000
CONFIDENCE = 0.999999
MIN_NUM_TRIALS = 1000
MAX_NUM_TRIALS = 10000
CONFIDENCE = 0.9999


class LoRansac(VerifierBase):
Expand Down

0 comments on commit 1ce2e2e

Please sign in to comment.