Skip to content

Use g2o to optimize the camera pose. Initial guess is from EPnP.

License

Notifications You must be signed in to change notification settings

HeadReaper-hc/g2o_pose_optimization

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pose Optimization Using G2O Library: an Easy Example

A small sample for pose optimization using g2o to minimize reprojection errors.

Usage:

Requirement:

  1. OpenCV 3.1.0 or newer version.

  2. LAPACK && Suitesparse && Eigen3.

  3. (optional) Viz module in opencv (needs compiling with VTK). Disable the display in the macro DISPLAY_3D.

Example:

There is an example given on optimizing a pose calculated from EPnP to give intuitions on the performance of g2o.

You may write extra code to implement other optimization based on g2o.

About

Use g2o to optimize the camera pose. Initial guess is from EPnP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.5%
  • CMake 7.0%
  • C 1.5%