Skip to content
Snippets Groups Projects

Distance

This package contains utils functions to compute distances between two point clouds.

Available distances

  • Hausdorff distance

Installation

git clone https://gitlab.utc.fr/pierre.adorni/distances
cd distances
pip install .

Usage

CLI

distance_computor a.txt b.txt

Python

from distances import hausdorff

a = [[0, 0], [1, 1], [2, 2]]
b = [[0, 0], [1, 1], [2, 2], [3, 3]]

hausdorff(a, b)

License

This project is licensed under the MIT License - see the LICENSE file for details