Skip to content

Commit

Permalink
Increase P3P tolerance.
Browse files Browse the repository at this point in the history
Bundle Adjustment can align everything in place, and it's better to have
more points in the model than a finer model (which overcompensates by
making everything planar, or too far away).
  • Loading branch information
zlogic committed Jan 9, 2024
1 parent 8e5790d commit dcfaed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/triangulation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const RANSAC_K: usize = 100_000;
// TODO: this should be proportional to image size
const MIN_INLIER_DISTANCE: usize = 200;
const RANSAC_INLIERS_T: f64 = 25.0;
const RANSAC_T: f64 = 50.0;
const RANSAC_T: f64 = 75.0;
const RANSAC_D: usize = 100;
const RANSAC_D_EARLY_EXIT: usize = 100_000;
const RANSAC_CHECK_INTERVAL: usize = 1000;
Expand Down

0 comments on commit dcfaed7

Please sign in to comment.