add fix
parent
2b5e22ccb5
commit
8c321ba226
|
@ -130,7 +130,7 @@ std::vector<SfmTrack2d> tracksFromPairwiseMatches(
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(johnwlambert): return the Transitivity failure percentage here.
|
// TODO(johnwlambert): return the Transitivity failure percentage here.
|
||||||
return tracks2d; // validTracks;
|
return validTracks;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace gtsfm
|
} // namespace gtsfm
|
||||||
|
|
|
@ -36,7 +36,7 @@ class TestDsfTrackGenerator(GtsamTestCase):
|
||||||
tracks = gtsam.gtsfm.tracksFromPairwiseMatches(
|
tracks = gtsam.gtsfm.tracksFromPairwiseMatches(
|
||||||
matches_dict,
|
matches_dict,
|
||||||
keypoints_list,
|
keypoints_list,
|
||||||
verbose=False,
|
verbose=True,
|
||||||
)
|
)
|
||||||
self.assertEqual(len(tracks), 0, "Tracks not filtered correctly")
|
self.assertEqual(len(tracks), 0, "Tracks not filtered correctly")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue