Giter Site home page Giter Site logo

bharadwaj-chukkala / stereo-vision-to-estimate-depth-in-an-image Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 18.06 MB

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: MIT License

Python 100.00%
stereo-vision brute-force-matching camera-calibration correspondence-analysis depth-estimation depth-map disparity-map epipolar-geometry middlebury-dataset rectification

stereo-vision-to-estimate-depth-in-an-image's Introduction

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

stereo-vision-to-estimate-depth-in-an-image's People

Contributors

bharadwaj-chukkala avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.