6个小时搭出yolo5和ORB-SLAM2

6个小时搭出yolo5和ORB-SLAM2:

ubuntu2020搭环境的步骤:

1.更换国内软件源: 2.更新软件 update upgrade

3.科学**上网、禁止更新内核:

4.安装ros:

5.安装百度网盘: 下最新版,安装步骤如下:

6.安装clion(clion好用):

7.orbslam需要的环境:

8.深度学习yolo5需要搭建的环境:

**8.1  ubuntu20  安装Anaconda**
[https://blog..net/weixin_44776894/article/details/106159483](https://blog..net/weixin_44776894/article/details/106159483)
8.2  cuda:
[https://blog..net/ashome123/article/details/105822040/](https://blog..net/ashome123/article/details/105822040/)
[https://developer.nvidia.com/cuda-11.2.0-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=2004&target_type=deblocal](https://developer.nvidia.com/cuda-11.2.0-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=2004&target_type=deblocal)
8.3

9.笔记本摄像头的ROS驱动可以借鉴(orbsalm):

10.opencv4.4.0+contribute4.4.0(orbslam): 在科学上网的情况下,可以省略很多细节,只用:

cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_GENERATE_PKGCONFIG=ON -D OPENCV_ENABLE_NONFREE=YES -D OPENCV_EXTRA_MODULES_PATH=/home/wdb/orbslam/opencv-4.4.0/opencv_contrib-4.4.0/modules/ ..

make -j8

11.安装Pangolin (orbslam)

其他细枝末节就不说了

经验分享 程序员 微信小程序 职场和发展