Code Monkey home page Code Monkey logo

stereo-lime's Introduction

Stereo-LIME

Stereo Camera assisted Localization in Mapped Environment

Achieves accurate localization with the help of stereo-camera in a pre-mapped pointcloud environment

Prerequisites

Ceres Solver

Follow Ceres Installation

OpenCV

Install OpenCV

PCL

Install PCL from source.

Pipeline

6

Depth Map Generation

The left and the right image from the stereo camera is used to compute the disparity map. From disparity map, we obtain the depth of a point using the formula:

disparity = x - x' = (B*f)/Z

Here, B is baseline, i.e, distance between the left and right camera & f is the focal length of the camera. Z is the depth of that pixel value.

Example, depth image:

6

Local Map Generation

The local map is generated via pcl::octree::OctreePointCloudSearch, which searches for neighbours within a voxel at a given point which in our case is the initial pose obtained from VINS-Fusion.

1 1

Localization

The final camera pose is obtained by minimizing the depth residual which is the difference between the depth of the map point in local map and the corresponding stereo depth. This non-linear optimization problem is solved by Ceres-Solver.

localize themath

Results

The green line shows the groud_truth path of the ego vehicle and the red line shows path generated from the localization pipeline

result zoomresult

stereo-lime's People

Contributors

kuromadoshimj avatar aditya-jha13 avatar

Forkers

pranav610

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.