raulmur / ORB_SLAM2

Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities
Other
9.44k stars 4.69k forks source link

Opencv 4 support #1000

Open ghost opened 3 years ago

ghost commented 3 years ago

I am trying to change the code so I can use opencv 4. Most of the changes are straightforward. But PnPsolver.cc used a lot of opencv c API which is hard to find replacement in opencv 4. Have anyone transferred this code to opencv4?

crmaxj commented 3 years ago

Check out this PR's branch, it should just work for you! https://github.com/raulmur/ORB_SLAM2/pull/970

Mechazo11 commented 2 years ago

Check out this PR's branch, it should just work for you! #970

It doesn't however I got this project to compile https://github.com/Mateo-tech/orb-slam2. Will comment back when I get a custom dataset that I know works with ORB_SLAM3 to run with this version of ORB_SLAM2