日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > python >内容正文

python

Intel Realsense D435 python 实战(二)

發布時間:2025/3/19 python 17 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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 Datahttps://github.com/IntelRealSense/librealsense/blob/development/doc/sample-data.md,拖到頁面最后,下了幾個.bag文件,用Intel Realsense Viewer加載,顯示如下:

    它好像就是個可以錄制和回放的工具!

  • Intel RealSense產品商城
    https://store.intelrealsense.com/products.html

  • Windows 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 实战(二)的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。