Skip to content

ENPM673: Project 3. Implementing a stereo vision pipeline to find the depth of an image. This project will generate a heat map indicating depth which has been calculated using disparity between correspondences

License

Notifications You must be signed in to change notification settings

bharadwaj-chukkala/Stereo-Vision-to-estimate-depth-in-an-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stereo Vision to estimate depth in an image

Project Description

In this project, we are going to implement the concept of Stereo Vision. We will be given 3 different datasets, each of them contains 2 images of the same scenario but taken from two different camera angles. By comparing the information about a scene from 2 vantage points, we can obtain the 3D information by examining the relative positions of objects.

Objective

To find the depth in an image by following the stereo vision pipeline.

Dependencies

  • Matplotlib pip install matplotlib
  • OpenCV pip install opencv-python
  • NumPy pip install numpy
  • tqdm pip install tqdm
  • The dataset used for this project is MiddleBury Stereo Dataset

Contents

├───data
│   ├───curule
│   ├───octagon
│   └───pendulum
├───bchukkal_proj3_report.pdf
├───stereo_vision.py
└───results

Instructions for Usage

  1. Clone the repository
git clone https://github.com/bharadwaj-chukkala/Stereo-Vision-to-estimate-depth-in-an-image.git
  1. Install Python 3.9 and the libraries mentinoned below prior to running the code
  2. Go to the root directory from your IDE.
  3. Please mention the path to the datasets wherever necessary.
  4. Run the stereo_vision.py file as it is.
  5. Note: if dataset and results are not given, please paste the py file in the folder where dataset is present and also create a results folder in the directory where you run the code.

Results

Curule Octagon Pendulum
Epipolar geometry
(Rectified)
1671441533984 1671441808456 1671441813305
Disparity
(Heat)
1671441938738 disp2 disp3
Depth Estimation depth1 depth2 depth3

License

This project is licensed under the MIT License - see the LICENSE file for details.

References

Contact

Bharadwaj Chukkala
UID: 118341705
Bharadwaj Chukkala is currently a Master's student in Robotics at the University of Maryland, College Park, MD (Batch of 2023). His interests include Machine Learning, Perception and Path Planning.
Website LinkedIn GitHub

About

ENPM673: Project 3. Implementing a stereo vision pipeline to find the depth of an image. This project will generate a heat map indicating depth which has been calculated using disparity between correspondences

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages