GithubHelp home page GithubHelp logo

roboticsai / python-vo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shiaoming/python-vo

0.0 1.0 0.0 98.33 MB

A simple python implemented frame by frame visual odometry with SuperPoint feature detector and SuperGlue feature matcher.

Python 100.00%

python-vo's Introduction

Python-VO

A simple python implemented frame by frame visual odometry. This project is inspired and based on superpoint-vo and monoVO-python.

We tested handcraft features ORB and SIFT, deep learning based feature SuperPoint, more feature detectors are also possible to be added to this project. For feature matchers, we tested the KNN and FLANN mathers implemented in OpenCV, and the novel deep learning based mather SuperGlue.

Feature detectors

  • ORB (OpenCV implementation)
  • SIFT (OpenCV implementation)
  • SuperPoint

Feature matchers

  • KNN, FLANN (OpenCV implementation)
  • SuperGlue

SIFT Keypoints

sift_keypoints

SuperPoint Keypoints

superpoint_keypoints

SIFT+FLANN Matches

sift_flann_match

SuperPoint+FLANN Matches

superpoint_flann_match

SuperPoint+SuperGlue Matches

superpoint_superglue_match

Install

  • Get this repository

    git clone https://github.com/Shiaoming/Python-VO.git
    cd Python-VO
  • Install python packages

    pip install -r requirements.txt

Run

  1. edit dataset path in params/*.yaml;
  2. run python main.py --config params/*.yaml in terminal.

For example, to evaluate the SuperPoint with SuperGlue, run:

python main.py --config params/kitti_superpoint_supergluematch.yaml

Evaluations

Absolute and relative translation errors on KITTI sequence 00 eval

Average relative translation errors on KITTI sequence 00

orb_brutematch sift_flannmatch superpoint_flannmatch superpoint_supergluematch
0.748m 0.085m 0.177m 0.103m

Trajectory of ORB feature with brute matcher on KITTI sequence 00

kitti_orb_brutematch

  • red: ground truth
  • green: estimated trajectory

Trajectory of SIFT feature with FLANN matcher on KITTI sequence 00

kitti_sift_flannmatch

  • red: ground truth
  • green: estimated trajectory

Trajectory of SuperPoint feature with FLANN matcher on KITTI sequence 00

kitti_superpoint_flannmatch

  • red: ground truth
  • green: estimated trajectory

Trajectory of SuperPoint feature with SuperGlue matcher on KITTI sequence 00

kitti_superpoint_supergluematch

  • red: ground truth
  • green: estimated trajectory

python-vo's People

Contributors

kuiyuanfu avatar shiaoming 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.