$ make
$ ./ransac_2d points1.txt
$ python create_points.py
Make sure the parameters of RANSAC match in python and C++ codes if you want to test the implementation of C++ code.
You can specify your own input file instead of points1.txt. Input file should be a comma separated file. Currently, all the output is directed to stdout.
https://github.com/joekeo/RANSAC/blob/master/main.cpp
http://scikit-image.org/docs/dev/auto_examples/transform/plot_ransac.html