Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 753 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 753 Bytes

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)