Skip to content

Commit

Permalink
inliers to inlier_mask
Browse files Browse the repository at this point in the history
  • Loading branch information
B1ueber2y committed Dec 12, 2024
1 parent fb39463 commit 1d14d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hloc/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def visualize_loc_from_log(
# select the first, largest cluster if the localization failed
loc = loc["log_clusters"][loc["best_cluster"] or 0]

inliers = np.array(loc["PnP_ret"]["inliers"])
inliers = np.array(loc["PnP_ret"]["inlier_mask"])
mkp_q = loc["keypoints_query"]
n = len(loc["db"])
if reconstruction is not None:
Expand Down

0 comments on commit 1d14d71

Please sign in to comment.