Intel Realsense D435 python 实战(二)

2战 2019年9月6日

  1. Recorded Camera Data https://github.com/IntelRealSense/librealsense/blob/development/src/media/readme.md(不知道干吗用的?)而后点击Sample Datahttps://github.com/IntelRealSense/librealsense/blob/development/doc/sample-data.md,拖到页面最后,下了几个.bag文件,用Intel Realsense Viewer加载,显示以下:
    在这里插入图片描述
    它好像就是个能够录制和回放的工具!html

  2. Intel RealSense产品商城
    https://store.intelrealsense.com/products.htmlpython

  3. Windows Distribution
    https://github.com/IntelRealSense/librealsense/blob/development/doc/distribution_windows.md
    (好像对我没什么用)git

  4. What’s included in the SDK
    https://github.com/IntelRealSense/librealsense/tree/development#whats-included-in-the-sdk
    (好像SDK的tools文件夹里确实有一些有用的东西)
    在这里插入图片描述github

  5. start streaming frames and extracting the depth value of a pixel
    不用python,也能够从 https://github.com/IntelRealSense/librealsense/tree/development#ready-to-hack 得到一些关于如何从像素中提取深度信息的操做模式与方法。web

librealsense/wrappers/python/
注意使用前安装合适版本的SDKwindows

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-archiveapp