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:
- Clone this repo
- Create a brahcn called
feature/<your_shape_name> - Write tests. Make sure that they pass.
- 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
EachWordStartingWithACapitalLetterstyle - functions and variables are written in
snake_case
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b088e5270a5531e58f4cd7aec2b804980a59916c3a73bb929c5cefce6bffaf8b
|
|
| MD5 |
bd756d021ce5e04020a9f8002e3ad797
|
|
| BLAKE2b-256 |
8f0a7470d28f4210929a05575f05d285b8c5d57ba43037245ef94201e8fae101
|