Skip to content

Instantly share code, notes, and snippets.

@erykml
Created August 30, 2022 20:56
Show Gist options
  • Save erykml/9cbc279b5cb37865bc824ebd65bd418e to your computer and use it in GitHub Desktop.
Save erykml/9cbc279b5cb37865bc824ebd65bd418e to your computer and use it in GitHub Desktop.
inlier_mask = ransac.inlier_mask_
outlier_mask = ~inlier_mask
print(f"Total outliers: {sum(outlier_mask)}")
print(f"Outliers we have added ourselves: {sum(outlier_mask[:N_OUTLIERS])} / {N_OUTLIERS}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment