/RANSAC

This is a coursework project for ENPM673: Perception for Autonomous Robots to implement RANSAC method for curve fitting.

Primary LanguagePythonMIT LicenseMIT

How to run the code

Navigate to your workspace and clone the repository. Type

cd <Workspace>
git clone https://github.com/namangupta98/RANSAC/
cd Code

To run the code for dataset-1, type

python3 -i Data_1.py 

For dataset-2, type

python3 -i Data_2.py


Figure 1 - Curve Fitting using RANSAC

The plot for Data-1 shows curve fitting using Least Square Method and Data-2 shows curve fitting using RANSAC method.

For Question3, type

python3 -i Homework1_Q3.py