This project explains how to implement a visual odometry for a stereo camera system. Stereo Matching of the images is done using Semi Global Block Matching.
├── Code
| ├── stereovision.py
| ├── helper.py
├── Docs
| ├── VisualOdometry_Report.pdf
├── Results
| | ├── .png files
Please downlaod the dataset from this drive link.
- Opencv2
- Numpy
- Numba
- Matplotlib
- scipy
git clone --recursive https://github.com/karanamrahul/Visual-Odometry.git
cd Visual-Odometry
python3 stereovision.py
You need to select the dataset and the method you want to use for stereo matching. ( Using Semi Global might take a little more time compared to the first method as it checks for four directions around the pixel)
Please choose the dataset number (1) - Curule (2) - Octagon (3) - Pendulum :
Please choose the method number (1) - Simple Block Matching (2) - Semi Global Block Matching :