【安装】Ubuntu上下 Intel Real Sence D455 的安装

本文档详细介绍了在Ubuntu上安装Intel Real Sense D455的过程,包括下载SDK、安装依赖、解决git clone失败的问题,以及Python接口的测试和相机内参获取。遇到的错误如GnuTLS recv error在安装libcurl和libusb时,通过下载zip文件并手动配置解决。同时,提供了RealSense Viewer的使用介绍和Python例程解析。
摘要由CSDN通过智能技术生成

Ubuntu上下 Intel Real Sence D455 的安装

1. Download SDK

  1. 下载源码,第一步先将librealsense的github下载下来:
$ git clone https://github.com/IntelRealSense/librealsense.git

单独下载比git快,可能需要翻墙,否则很慢

  1. 安装依赖环境
$ sudo apt-get install libusb-1.0-0-dev libglfw3-dev libgtk-3-dev
$ sudo apt-get install libudev-dev      (不装make时会报错找不到libudev.h)

libusb是一个USB设备访问接口库;
gtk是一个图形工具包;
glfw是一个OpenGL应用框架;

2. Installing the packages (SDK Platform)

在下载下来的librealsense-master中的readme.md中有安装教程:

  • Register the server’s public key:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE In case the public key still cannot be retrieved, check and specify proxy settings: export http_proxy="http://<proxy>:<port>"
    , and rerun the command. See additional methods in the following link.

  • Add the server to the list of repositories:
    sudo add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo $(lsb_release -cs) main" -u

  • Install the libraries (see section below if upgrading packages):
    sudo apt-get install librealsense2-dkms
    sudo apt-get install librealsense2-utils
    The above two lines will deploy librealsense2 udev rules, build and activate kernel modules, runtime library and executable demos and tools.

  • Optionally install the developer and debug packages:
    sudo apt-get install librealsense2-dev
    sudo apt-get install librealsense2-dbg

    With dev package installed, you can compile an application with librealsense using g++ -std=c++11 filename.cpp -lrealsense2 or an IDE of your choice.

Reconnect the Intel RealSense depth camera and run: realsense-viewer to verify the installation.
使用內附的Type-C線接上電腦,Viewer會自動抓到並且詢問是否安裝
在这里插入图片描述
在这里插入图片描述
都安裝完之後就可以開始操作了

Verify that the kernel is updated : modinfo uvcvideo | grep "version:" should include realsense string

在这里插入图片描述

补充:RealSense Viewer

开箱测评参考链接:https://blog.cavedu.com/2020/09/28/intel-realsense-d455/

先将所有的模块都打开来看,分别是深度模块 (Stereo Module)、RGB摄影机 (RGB Camera)、动作感测模

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值