GithubHelp home page GithubHelp logo

amz-targetless-cal's Introduction

Target-less Camera-LiDAR Calibration

Description

Targetless Calibration between Camera and LiDAR using

  1. Manually selected correspondence
  2. Automated correspondence detection combining Gaussian Mixture Model (GMM), Chamfer Matching and Mutual Information

Implementation assumes a KITTI dataset folder structure like the following:

dataset
├── calibration
│   ├── calib_cam_to_cam.txt
│   ├── calib_imu_to_velo.txt
│   └── calib_velo_to_cam.txt
├── image_00
│   └── data
│       ├── 0000000001.png
│       └── ...
└── velodyne_points
    └── data
        ├── 0000000001.bin
        └── ...

Requirement

We recommend using pipenv and the Pipfile.lock file to install necessary dependencies in a virtual environment.

pipenv install --ignore-pipfile
pipenv shell

Usage

python calibrate.py --dir <path to kitti directory> --calibration_method <either "automatic" or "manual">
python calibrate.py -d <path to kitti directory> -cm <either "automatic" or "manual">

Example:

python calibrate.py --dir data/0928-KITTI-dataset/ --calibration_method automatic

For manual mode, click the feature in camera image and intensity image, confirm the selection with y, and finish selection with q

The calibration result is then displayed in the consol after the algorithm has converged. Example:

### Optimization completed ###
xyz (m): [ 1.20684236 -1.21968689  1.20059145]
Rotation Vector: [-0.02272116 -0.07837192 -0.34919117]

amz-targetless-cal's People

Contributors

ctyfang avatar jpzhong avatar benjin711 avatar

Stargazers

 avatar Ro.Z avatar

Watchers

 avatar  avatar

Forkers

mkjhnb

amz-targetless-cal's Issues

The result order

Is there a mistake here
print('xyz (m): ' + str(np.squeeze(self.tau)[:3])) print('Rotation Vector: ' + str(np.squeeze(self.tau)[3:]))
I think the order of R and T is reversed, it‘s a small problem.

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.