Python wrapper around Enric Meinhardt's C implementation of RANSAC distributed in imscript.
The ransac
Python package can be installed from PyPI with
pip install ransac
Alternatively, it can be installed from sources in editable mode with
git clone https://github.com/cmla/ransac
cd ransac
pip install -e .
import numpy as np
import ransac
matches = np.loadtxt("tests/data/matches.txt")
inliers, F = ransac.find_fundamental_matrix(matches)