Coder Social home page Coder Social logo

mvoscalerecovery's Introduction

MVOScaleRecovery

Recover the scale of monocular visual odometry

RUN

  1. save your image name in path_to_image_list by find path/| sort >path_to_image_list
  2. modify the src/param.py based on your dataset
  3. run python3 src/main.py path_to_image_list

Note

this is a scale recoery for a simple monocular VO, the accuracy is degraded. Current error of KITTI 00 by KITTI benchmark is 2.17% (ave every 800m)

Current result

  1. KITTI 00 kitti_00 kitti_00 kitti_00 kitti_00 kitti_00_scale

  2. KITTI 02 kitti_02 kitti_02_scale

  3. Initial Triangles before rance triangles triangles_o

  4. depth and reconstruct triangles triangles_o

mvoscalerecovery's People

Contributors

summerhuizhang avatar timingspace avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mvoscalerecovery's Issues

[Question] How to run correctly with cv2.recoverPose in thirdparty/visual_odometry.py

Hello, it's an excellent work. But I face a problem when I run visual_odometry.py. It seems that there is a problem with cv2.revocerPose function.

image

According to opencv document opencv, the code seems reasonable for using recoverPose. So, I try to use this function without output 'triangulatedPoints' to get Rotation and translation, and it worked. I am confused why it doesn't work with output 'triangulatedPoints'.

_, self.cur_R, self.cur_t, mask,points_3d = cv2.recoverPose(E, self.px_cur,\ self.px_ref,cameraMatrix=self.camera_matrix,distanceThresh=100)

[Question] norm calculation

Firstly, thanks for your great work.
In your paper, I can't understand the equation for calculating the normal vector and relative height.
What is the reason of normal vector obtained using inverse of 3 points in the plane rather than using cross product, and the relative height is obtained as the inverse of the size of the norm?

I will look forward to your reply
Thank you.

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.