Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cyd3r/ransac

An implementation of the RANSAC algorithm
https://github.com/cyd3r/ransac

c ransac

Last synced: about 11 hours ago
JSON representation

An implementation of the RANSAC algorithm

Awesome Lists containing this project

README

        

An implementation of the RANSAC algorithm on the GPU using NVIDIA CUDA.

## Requirements

- python3
- numpy
- matplotlib
- sklearn

## Steps

``` sh
# generate random data points
python3 util/generate.py 1000000

# compile the RANSAC implementation
make

# and run it!
# with CUDA
./gpu.out
# without CUDA
./host.out

# run a fit on the extracted inliers
# creates a fit.jpg image that shows the result
python3 src/fit.py

# visualisation of the RANSAC step (no fit)
# creates a vis.jpg image
python3 util/vis.py
```

The programs accept only hard-coded file paths, therefore the generated files must not be renamed or moved.