Giter Site home page Giter Site logo

leanring_triple_poses's Introduction

learning_triple_poses

Based on CVPR2022 best paper Learning to Solve Hard Minimal Problems implements solving the relative position of three images.

Note The correctness of the pose solving is lower than the results in the paper.

We think the main reasons for this are:

  • Randomised feature point selection
  • Generalisation of training results

1. Build

1.1 dependencies

  • Eigen
  • OpenCV

1.2 build

clone this project

git clone https://github.com/linyicheng1/leanring_triple_poses.git

build project

mkdir build & cd build 
cmake .. & make -j

2. Usage

2.1 Extract feature points

./build/sift <img1_dir> <img2_dir> <img3_dir> <output.txt>

For example:

./build/sift data/000570.png data/000575.png data/000580.png data/matches.txt

After the cmd you will see the match results

$_(OF(@ZD7H%KLC$XUN~N4X

2.2 Solve poses

./build/learning_triple_poses <model_path> <set_path> <data_path>

For example:

./build/learning_triple_poses ./model ./model/trainParam.txt data/matches.txt

After the cmd you will see some poses output, and the groundtruth is:

t01: 
-0.0116375
-0.022658
 0.999676
t02: 
-0.0224208
-0.0452998
 1.99962

You can find the correct result in the output poses, if not you need to run the programme again.

leanring_triple_poses's People

Contributors

linyicheng1 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.