Visual Odometry implementation with Stereo cameras for localization in Autonomous Driving
- It uses Python and OpenCV.
- It's a minimal approach w/o Global map optimization.
-
Download the Dataset:
- Download the full dataset from KITTI's official website.
- Make sure to download the greyscale images and the ground truth poses dataset.
- Extract it to the root directory of the project.
-
Setup Virtual Environment:
- Navigate to your project's root directory.
- Create a virtual environment using
venv. Open a terminal and run the following commands:
python3 -m venv venv
source venv/bin/activate # For Linux/Mac
# OR
.\venv\Scripts\activate # For Windows-
Install Requirements:
- With the virtual environment activated, install the required packages by using the
requirements.txtfile. Run the following command in the terminal:
- With the virtual environment activated, install the required packages by using the
pip install -r requirements.txt- Run the Visualization:
- After installing the requirements, run the
main.pyfile to visualize the results. Execute the following command in the terminal:
- After installing the requirements, run the
python main.py- This should launch the visualization.
Now, your project should be set up and running :)
Note: This is for Educational Purposes Only