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 一下:
遇到了一些麻煩,嘗試安裝window10 SDK,安裝前注意系統版本:
win10 SDK在此下載:https://developer.microsoft.com/en-us/windows/downloads/sdk-archive
總結
以上是生活随笔為你收集整理的Intel Realsense D435 python 实战(二)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Leetcode python《热题 H
- 下一篇: Intel Realsense D435