GithubHelp home page GithubHelp logo

kimsinjeong / reinforced-feature-points Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aritra0593/reinforced-feature-points

0.0 0.0 0.0 1.57 GB

Reinforced Feature Points for experiments on MegaDepth

Python 100.00%

reinforced-feature-points's Introduction

Reinforced Feature Points

  • Introduction
  • Installation
  • Testing

Introduction

We address a core problem of computer vision: Detection and description of 2D feature points for image matching.

Link: https://arxiv.org/pdf/1912.00623.pdf

Reinforced feature points follows a new training methodology which embeds the feature detector in a complete vision pipeline, and where the learnable parameters are trained in an end-to-end fashion.

For initialization, we use the pre-trained SuperPoint architecture, and then train it in our vision pipeline to minimize relative pose error. That’s why we call our network as Reinforced SuperPoint.

This training methodology poses little restrictions on the task to learn, and works for any architecture which predicts key point heat maps, and descriptors for key point locations.

In our paper, we have shown 3 different tasks. For the task of relative pose estimation, we have used RANSAC and NGRANSAC as robust estimators.

This repo contains the code for testing image pairs for relative pose estimation using RANSAC. Two of the several datasets used in the benchmark are also uploaded along with pre-computed image pairs, that were used for the computation of the results.

The folder named 'Training' contains the training pipeline using RANSAC based on pre-trained superpoint.

We will be uploading the codes for NGRANSAC soon.

Installation

Reinforced SuperPoint is based on PyTorch.

Reinforced SuperPoint requires the following python packages, and we tested it with the package version in brackets.

  • pytorch (1.2.0)
  • opencv (3.4.2)

Training

To run the training code, go into the folder named Training, and then run this:

python main.py

Testing

First clone this repo to your local machine.

For testing the network, please go inside the main folder and run the demo.py script as follows:

python demo.py ’reichstag’

This will create a folder with the name ‘reichstag’ inside the ‘output’ folder. It would contain a .txt file that contains rotation and translational errors for each image pairs.

reinforced-feature-points's People

Contributors

ari0593 avatar aritra0593 avatar kimsinjeong 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.