An efficient CPU implementation of farthest point sampling (FPS) for point clouds, version 1.0.2. Provides fast FPS on CPU without GPU dependencies. Release cadence is low; no recent updates.
pip install fpsampleNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sample a subset of points from a point cloud using farthest point sampling.
Convert input to float32 with points.astype(np.float32).
Use the returned indices as 0-based array indices.
Replace fps_sample with fps_sampling.
Convert input to float32: points = points.astype(np.float32)
Ensure point cloud is a 2D array of shape (N, D).