Coder Social home page Coder Social logo

ashishd / visual-localization-filtering Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dzungdoan6/visual-localization-filtering

0.0 1.0 0.0 25.67 MB

MATLAB Code for Visual Localization using Particle Filter

MATLAB 7.31% C++ 0.65% C 8.72% HTML 81.53% CSS 0.58% Makefile 0.41% Python 0.45% Clean 0.04% TeX 0.04% Shell 0.01% Objective-C 0.17% Roff 0.07% M 0.01% Mercury 0.02%

visual-localization-filtering's Introduction

About

MATLAB code of our NCAA 2020 paper:

"Visual Localization Under Appearance Change: Filtering Approaches" - NCAA 2020. Anh-Dzung Doan, Yasir Latif, Tat-Jun Chin, Yu Liu, Shin-Fang Ch’ng, Thanh-Toan Do, and Ian Reid. [pdf]

If you use/adapt our code, please kindly cite our paper.

Comparison results on Oxford RobotCar dataset [3] between PoseNet [1], MapNet [2], and our method

Result on Oxford RobotCar

[1] Alex Kendall, Matthew Grimes, and Roberto Cipolla, "PoseNet: A Convolutional Network for Real-Time 6-DOF Camera Relocalization", in CVPR 2015.

[2] Samarth Brahmbhatt, Jinwei Gu, Kihwan Kim, James Hays, and Jan Kautz, "Geometry-Aware Learning of Maps for Camera Localization", in CVPR 2018.

[3] Will Maddern, Geoffrey Pascoe, Chris Linegar, and Paul Newman, "1 Year, 1000km: The Oxford RobotCar Dataset", The International Journal of Robotics Research (IJRR), 2016.

Dependencies

We included, compiled and tested all 3rd-party libraries on MATLAB R2018a, Ubuntu 16.04 LTS 64 bit

Dataset

  • For precomputed features, please download work_dir.zip from here and unzip it to the source code's directory.

  • If you want to extract features from original images, please download original images from here.

    • Unzip 2014-06-26-08-53-56.zip, 2014-06-26-09-24-58.zip, and 2014-06-23-15-41-25.zip to dataset/alternate/
    • Unzip 2014-11-28-12-07-13.zip, 2014-12-02-15-30-08.zip, and 2014-12-09-13-21-02.zip to dataset/full/
  • Projection and whitening matrices are adapted from DenseVLAD paper of Torii et al. (http://www.ok.ctrl.titech.ac.jp/~torii/project/247/)

Currently, we only publish the code to test Oxford RobotCar dataset with alternate (1km) and full (10km) routes. We will publish code for GTA dataset soon

Feature Extraction

Run extractFeatures.m to extract features.

Note that please change the route variable to alternate (1km) or full (10km)

Localization

  • Run
    • doMCVL.m to perform visual localization with MCVL.
    • doHMM.m to perform visual localization with HMM.
  • Note that please change the route variable to alternate (1km) or full (10km)

After finishing, it will show mean/median errors, and plot the predicted trajectory same as Figure 8d and 8g within the paper

Support

If you have any questions, feel free to contact me

visual-localization-filtering's People

Contributors

dzungdoan6 avatar

Watchers

James Cloos 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.