Python wrapper of Enric Meinhardt's RANSAC implementation


Install
pip install ransac==1.0.4

Documentation

RANSAC

Build Status PyPI version

Python wrapper around Enric Meinhardt's C implementation of RANSAC distributed in imscript.

Installation

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 .

Usage

import numpy as np
import ransac

matches = np.loadtxt("tests/data/matches.txt")
inliers, F = ransac.find_fundamental_matrix(matches)