Last active
December 10, 2021 09:13
-
-
Save AxoyTO/d625f16c584d3c313d8981df51e1129a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from scipy.spatial.distance import directed_hausdorff | |
| #Assume m1_v and m2_v are vertices of models | |
| scipy_res = directed_hausdorff(m1_v, m2_v) | |
| print(f"Scipy: {scipy_res[0]:.6f}\nIndexes: ({scipy_res[1]}, {scipy_res[2]})") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment