Skip to main content

A general random sample consensus (RANSAC) package

Project description

codecov Documentation Status

pyransac package

This package is a general random sample consensus (RANSAC) framework. For convenience, some data models (such as a straight line) are already provided. However, you are free to define your own data models to remove outliers from arbitrary data sets using arbitrary data models.

General usage

There are two main components to this package: the RANSAC estimator and a data model. When calling the estimation function find_inliers, you need to specify the model to which you expect your data to fit.

A data model is class containing the model parameters and an error function against which you can test your data. Each data model must implement the interface defined by the Model base class. In other words, you need to implement the make_model and calc_error functions.

Additionally, you need to provide parameters for the RANSAC algorithm. These parameters are contained in the RansacParams class.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyransac-1.1.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

pyransac-1.1.3-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file pyransac-1.1.3.tar.gz.

File metadata

  • Download URL: pyransac-1.1.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for pyransac-1.1.3.tar.gz
Algorithm Hash digest
SHA256 77874b3db7f47d6d18c5f5b4c5a85240c9d1c2aa8ee5b48a720ca5057922aa78
MD5 10ae6eb5d0a2816c3971131eedc0bcca
BLAKE2b-256 5c9cc132ad8ec5022631b27a6d348e868f365b7cba3f15e23d8ee34e45cd5b5e

See more details on using hashes here.

File details

Details for the file pyransac-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: pyransac-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for pyransac-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e0a604820cb270490a15351141d42ec77328937da3512fc6b6e254413a2ee5d5
MD5 1f9fae3852ae2086341f11e290f7d713
BLAKE2b-256 452cb9282c960fbe9b72c6791d84972231939796728ac39f584263bd18d4dfa8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page