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.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

pyransac-1.1.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyransac-1.1.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for pyransac-1.1.1.tar.gz
Algorithm Hash digest
SHA256 9f97e852bc6186ab266c1cc0d8cd7e7d0e7d45f733196c9b65eaeb14b9fe3491
MD5 9118c55459fd70607208d8fccca2a77b
BLAKE2b-256 54849e23a8c9c8503a4ff306041f048b231734e3055bde25e2da1f7b07434839

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyransac-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for pyransac-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0fc2c8c55e18db30e8a31817ef36aeab48402815e865d15891032cae59b06b1c
MD5 2a92d5bd83de5211a0fc3b9ee0d5430b
BLAKE2b-256 cb51ffb4888684a3f8d984c2b7d0c935f8c336c16f08b0963dc671e1ba272f9d

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