Intel Realsense D435 python 实战(二)
2战 2019年9月6日
- librealsense Github
主页
https://github.com/IntelRealSense/librealsense --> 点击branch --> development --> 进入到开发者页面
https://github.com/IntelRealSense/librealsense/tree/development。(还有一个releases页面
https://github.com/IntelRealSense/librealsense/releases 不知道咋进入的,从releases界面
能够看到最新发布的SDK,比官网的要新)(还有一个Intel® RealSense™ SDK Wiki界面
https://github.com/IntelRealSense/librealsense/wiki/API-How-To 也不知道是从哪进入的,后来查到是从这进的https://github.com/IntelRealSense/librealsense/tree/development/doc,而doc
又是从development branch
的doc
文件中进入的,能看到API-How-To
以及其他的选项等)
从development branch
页面文件中的examples
文件夹中点击进入,也能到达一个名叫Sample Code for Intel® RealSense™ cameras
https://github.com/IntelRealSense/librealsense/tree/development/examples 的地方:
Sample Code for Intel® RealSense™ cameras https://github.com/IntelRealSense/librealsense/tree/development/examples#sample-code-for-intel-realsense-cameras:
从此页面,我们还能进入工具页面 Tools for Intel® RealSense™ Camera https://github.com/IntelRealSense/librealsense/tree/development/tools#tools-for-intel-realsense-camera:
还有社区项目 Community Projects https://github.com/IntelRealSense/librealsense/tree/development/examples#community-projects:
- 从开发者页面的
readme.md
我们可以得到:
Recorded Camera Data
https://github.com/IntelRealSense/librealsense/blob/development/src/media/readme.md(不知道干嘛用的?)然后点击Sample Data
https://github.com/IntelRealSense/librealsense/blob/development/doc/sample-data.md,拖到页面最后,下了几个.bag
文件,用Intel Realsense Viewer
加载,显示如下:
它好像就是个可以录制和回放的工具!Intel RealSense产品商城
https://store.intelrealsense.com/products.htmlWindows Distribution
https://github.com/IntelRealSense/librealsense/blob/development/doc/distribution_windows.md
(好像对我没什么用)What’s included in the SDK
https://github.com/IntelRealSense/librealsense/tree/development#whats-included-in-the-sdk
(好像SDK的tools文件夹里确实有一些有用的东西)
start streaming frames and extracting the depth value of a pixel
不用python,也可以从 https://github.com/IntelRealSense/librealsense/tree/development#ready-to-hack 获得一些关于如何从像素中提取深度信息的操作模式与方法。
librealsense/wrappers/python/
注意使用前安装合适版本的SDK
- 从
development
页面进入到python wraper
https://github.com/IntelRealSense/librealsense/tree/development/wrappers/python,看到了这一句,爽啊!!这是他们的官方wrapper!!
打开pipy发布页:https://pypi.python.org/pypi/pyrealsense2,还都是最近更新的!!
然后我们点击 Project description,按照上面给的示例代码 quick start 一下:
import pyrealsense2 as rs
pipe = rs.pipeline()
profile = pipe.start()
try:for i in range(0, 100):frames = pipe.wait_for_frames()for f in frames:print(f.profile)
finally:pipe.stop()
遇到了一些麻烦,尝试安装window10 SDK,安装前注意系统版本:
win10 SDK在此下载:https://developer.microsoft.com/en-us/windows/downloads/sdk-archive
Intel Realsense D435 python 实战(二)相关推荐
- Intel Realsense D435 python 实战(一)
20200519 D435包含一个有源红外摄像头,有源红外摄像头旁边的两个能够输出黑白图像,应属于双目测距, 1战 2019年8月22日 公司的Intel Realsense D435摄像头的识别系统 ...
- Intel Realsense D435 python (Python Wrapper)examples 官方案例汇总
From pypi/pyrealsense 1.Intel Realsense D435 python (Python Wrapper)example -1: quick start (快速开始) F ...
- Intel Realsense D435 python (Python Wrapper)example00: NumPy Integration 将深度帧数据转换为 Numpy 数组进行处理
NumPy Integration: Librealsense frames support the buffer protocol. A numpy array can be constructed ...
- Intel Realsense D435 python multiprocessing 摄像头多进程流传输
参考文章1:python 测试multiprocessing多进程 参考文章2:Intel Realsense D435 多摄像头目标识别架构
- Intel Realsense D435 python 如何获取(打印)所有摄像头序列号信息?
import pyrealsense2 as rsctx = rs.context() if len(ctx.devices) > 0:for d in ctx.devices:print('F ...
- Intel Realsense D435 python 从深度相机realsense生成pcl点云
引用文章:python 从深度相机realsense生成pcl点云 从深度相机realsense生成pcl点云 一.通过realsense取得深度信息和彩色信息 二.获取坐标和色彩信息 三.通过pcl ...
- Intel Realsense D435 python(Python Wrapper)example02: NumPy and OpenCV 用窗口展示并排堆叠的RGB流和深度流
example02: NumPy and OpenCV https://github.com/IntelRealSense/librealsense/blob/development/wrappers ...
- Intel Realsense D435 python wrapper pyrealsense.pipeline类
pipeline.py # encoding: utf-8 # module pyrealsense2.pyrealsense2 # from D:\Yolov3_Tensorflow\python\ ...
- Intel Realsense D435 python (Python Wrapper)example -1: quick start (快速开始)
example -1: quick start https://pypi.org/project/pyrealsense2/ import pyrealsense2 as rs pipe = rs.p ...
最新文章
- 装饰模式(Decorator Pattern)
- 2020暑期实习后台开发字节跳动笔试
- Tomcat的安装配置与JavaWeb入门教程
- 全球及中国双特异性单抗行业发展可行性及项目调研评估报告2022-2027年
- 互联网1分钟 | 0110 腾讯联手拳头游戏成立腾竞体育;百度智能云发布中国首款智能边缘计算产品BIE...
- 用Python教你通过微信来控制电脑摄像头
- java语言特点 字符串不变_面试必问:Java中String类型为什么设计成不可变的?
- C++(21)--Astah uml 画C++类图
- 求5阶矩阵其对角线上所有元素之和
- 矩形分割(洛谷P1324题题解,Java语言描述)
- python中怎样创建字典内建函数_python中常用的字典内建函数
- 使用 Flink Hudi 构建流式数据湖平台
- 【车牌识别】基于matlab形态学车牌识别【含Matlab源码 1155期】
- linux dstat,使用Dstat来进行Linux综合性能诊断
- 网站使用QQ互联接入第三方登录,实现qq快捷登录网站的功能
- 雷声大雨点小:Bakkt「见光死」了吗?
- 算法的时间复杂度与空间复杂度介绍
- 学海无涯!腾讯、网易必问的20道题Android面试题,已拿offer入职
- Android版疯狂填字第三关,iOS/安卓版《疯狂填字》答案攻略第三十八关
- php7.1 phpize编译gd,centos 7 下用 phpize安装GD扩展库