Skip to main content

A library for RANSAC with most common objects

Project description

About this library

This is an open source implementation of most common objects for python.

Requirements

This repo was written on python 3.12. It should work fine with some other versions too, though.

To install requirements, run:

pip install -r requirements.txt

To install this module during development:

pip install -e .

Writing your modules

To write a custom surface detector, create a child class of SurfaceModel and place it in ransac3d/surfaces/. An example can be found at ransac3d/surfaces/point.py.

Testing

To test your module, please write a pytest file for it. Example can be found in test/test_point.py.

To run your tests:

python -m pytest test/<your_test_file_name>

Contributing

To add you custom surface to this repo:

  1. Clone this repo
  2. Create a brahcn called feature/<your_shape_name>
  3. Write tests. Make sure that they pass.
  4. Create a pull request.

Codestyle

If you want to contribute to this library, make sure that your code adheres to the following code style:

  • classes are written in EachWordStartingWithACapitalLetter style
  • functions and variables are written in snake_case

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

starkit_ransac-0.0.1-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file starkit_ransac-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: starkit_ransac-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for starkit_ransac-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b088e5270a5531e58f4cd7aec2b804980a59916c3a73bb929c5cefce6bffaf8b
MD5 bd756d021ce5e04020a9f8002e3ad797
BLAKE2b-256 8f0a7470d28f4210929a05575f05d285b8c5d57ba43037245ef94201e8fae101

See more details on using hashes here.

Supported by

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