Ubuntu18.04安装配置使用intel realsense
时间: 2023-10-19 09:07:45 浏览: 146
Ubuntu 18.04下VMware Tools安装配置图文教程
5星 · 资源好评率100%
1. 安装librealsense
在终端中运行以下命令来安装librealsense:
```
sudo apt-get install git libssl-dev libusb-1.0-0-dev pkg-config libgtk-3-dev
git clone https://github.com/IntelRealSense/librealsense.git
cd librealsense
sudo apt-get install libglfw3-dev
sudo apt-get install libudev-dev
sudo apt-get install libdrm-dev
sudo apt-get install libglu1-mesa-dev
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libssl-dev
sudo apt-get install libxinerama-dev
sudo apt-get install libxcursor-dev
sudo apt-get install libxi-dev
sudo apt-get install libxrandr-dev
sudo apt-get install libxfixes-dev
sudo apt-get install libxext-dev
sudo apt-get install libxi-dev
sudo apt-get install libxrender-dev
sudo apt-get install libxcb1-dev
sudo apt-get install libxcb-xinerama0-dev
sudo apt-get install libxcb-cursor-dev
sudo apt-get install libxcb-xfixes0-dev
sudo apt-get install libxcb-randr0-dev
sudo apt-get install libxcb-xtest0-dev
sudo apt-get install libxkbcommon-dev
sudo apt-get install libxkbcommon-x11-dev
sudo apt-get install libwayland-dev
sudo apt-get install libxrandr-dev
sudo apt-get install libxinerama-dev
sudo apt-get install xorg-dev
sudo apt-get install libudev-dev
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libglfw3-dev
mkdir build && cd build
cmake ..
make
sudo make install
sudo ldconfig
```
2. 测试realsense相机
将realsense相机连接到计算机上,并在终端中运行以下命令:
```
realsense-viewer
```
如果一切正常,您将看到realsense相机捕获的图像。您还可以使用realsense-viewer工具来查看深度和红外数据。
阅读全文