GithubHelp home page GithubHelp logo

code-locker / stereo-vision Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zaitera/stereo-vision

0.0 0.0 0.0 28.94 MB

Stereo vision application using two cameras for depth and disparity calculation and volume estimation

License: MIT License

Python 100.00%

stereo-vision's Introduction

Stereo-Vision

Abdullah_Zaiter__Ian_Moura
├── README.md (This file)
├── Abdullah_Zaiter__Ian_Moura.pdf
├── /data
│ ├── /Middlebury
│ │ ├── /Jadeplant-perfect
│ │ │ ├── imgL.png
│ │ │ ├── imgR.png
│ │ │ │── disparity.pgm
│ │ │ └── depth.png
│ │ └── /Motorcycle-perfect
│ │ │ ├── imgL.png
│ │ │ ├── imgR.png
│ │ │ ├── disparity.pgm
│ │ │ └── depth.png
│ └── /FurukawaPonce
├── /relatorio
│ └── Latex source code of the report
├── /src
| └── main.py (principal source code)
| └── utils.py (aux code with several relevant classes and methods)
| └── MouseClick.py (a class for mouse tracking)

OpenCV version : 3.4.1

Python 3

Python modules used:

 - cv2  
 - numpy  
 - argparse

Requisites:

  1- Calculation of disparity and depth map, and then using them to determine real world coordenates, this can be applied for two group of images, motor and plant.

  2- Calculation of disparity and depth for another group of image where there is a rotation between the two images.

  3- Determing the minimum box dimensions in which the object of requisite 2 can fit, this can be done clicking on the image two times to measure each dimension.

To evaluate requisite 1 run this command, where i parameter can be m or p (m for the motor images and p for the plant images):

python3 ./src/main.py --r 1 --i m OR python3 ./src/main.py --r 1 --i p

To evaluate requisite 2 run this command:

python3 ./src/main.py --r 2

To evaluate requisite 3 run this command (measuring box size):

python3 ./src/main.py --r 3

Photo of the result of the depth calculated

alt text

stereo-vision's People

Contributors

ianmalexandre 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.