py-ransac
py-ransac copied to clipboard
optimise with numpy
Use numpy vector operations instead of iterating through data for better performance.
Note that I also changed the run_ransac
signature to take inlier_threshold
(float
) instead of is_inlier
(function).