raulmur / ORB_SLAM2

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

OpenCV4 support #800

Open chase-metzger opened 5 years ago

chase-metzger commented 5 years ago

I would just like to confirm this library and examples were able to build (lots of headaches) and run the examples on Fedora 30 with OpenCV 4.1.1 (had to build myself with Qt as the gui). If this is relevant to anyone or would like to know more about my setup I can provide more info as needed.

Screenshot of running mono_euroc example

Screenshot from 2019-08-17 17-17-51

samirbr commented 4 years ago

@chase-metzger can you share your setup, patches, or code changes? Thanks!

tooHotSpot commented 4 years ago

@chase-metzger Can you share your setup, please? Main headache is in configuring proper CMakeLists and redirecting to folder usr/local/include/opencv4/opencv2 where OpenCV 4.0.1 is installed.

thohemp commented 4 years ago

Check this: https://github.com/raulmur/ORB_SLAM2/pull/790/

Mechazo11 commented 2 years ago

Check this: #790

@thohemp the status on this commit still shows Open https://github.com/raulmur/ORB_SLAM2/pull/790/files. If we manually replicate these changes in appropriate files on top of a clean copy of ORB-SLAM2 would that make OpenCV 4.0 work?