快速入門#
先決條件#
- Basler Stereo mini 相機(USB 或 GigE 型號,請參見下表)
- 執行 Windows、Linux 或 Linux ARM 的電腦
- 電腦上已安裝 Basler pylon SDK
- 電腦上已安裝 Basler pylon Supplementary Package for Stereo mini
支援的相機型號#
| 型號 | Interface | Connector |
|---|---|---|
| STM-501u | USB | USB Type-C |
| STM-502u | USB | USB Type-C |
| STM-951u | USB | USB Type-C |
| STM-952u | USB | USB Type-C |
| STM-951g | GigE | M12 X-coded, 8-pin |
| STM-955g | GigE | M12 X-coded, 8-pin |
如需詳細規格,請參閱 Product Specifications 主題。
安裝與設定#
- Download the latest Basler pylon SDK from the Basler website.
- Download the latest Basler pylon Supplementary Package for Stereo mini from the Basler website.
- Run the installer and follow the installation wizard.
- USB models: Connect the camera to a USB 3.0 port.
The camera will be detected automatically by the pylon SDK. - GigE models: Connect the camera to your GigE network using an M12 X-coded cable.
- Download the latest Basler pylon SDK for Linux from the Basler website.
- Download the latest Basler pylon Supplementary Package for Stereo mini from the Basler website.
- Extract the archive and run the installer script.
- USB models: Connect the camera to a USB 3.0 port.
- GigE models: Connect the camera to your GigE network using an M12 X-coded cable.
連接相機#
USB 型號#
- 使用 USB Type-C 連接線將相機連接至 USB 3.0 連接埠。
- 相機透過 USB 連接供電。
- 連接後,請開啟 pylon 3D Viewer 以驗證連接。
GigE 型號#
- 使用 M12 X-coded 8-pin 連接線將相機連接至您的網路。
GigE 型號支援透過乙太網路供電 (PoE, IEEE 802.3af)。或者,它們也可以由獨立的 DC 電源供應器 (9–24 V) 供電。 - 請確保您的網路介面卡和交換器支援 Gigabit Ethernet。
- 連接後,請開啟 pylon 3D Viewer 以驗證連線。
若相機未立即顯示,請使用 重新整理 (Refresh) 按鈕。
驗證連接#
pylon IP Configurator#
使用 pylon IP Configurator 來檢查和變更 GigE Stereo mini 相機的 IP 設定。
或者,您也可以從 pylon 3D Viewer 內按一下 工具 (Tools) > pylon IP Configurator 來啟動 pylon IP Configurator。
使用 pylon 3D Viewer#
pylon 3D Viewer 提供了一個圖形使用者介面,用於檢視和設定相機的功能以及視覺化可用的串流格式。它還允許您儲存影像。
- 開啟 pylon 3D Viewer。
您的相機應會顯示在裝置清單中。 - 按一下您的相機以選取它。
您應該會看到即時深度和 RGB 影像串流。
後續步驟#
- 閱讀 C++程式設計指南 (C++ Programmer's Guide) 以進行 C++ 開發。
- 閱讀 Python程式設計指南 (Python Programmer's Guide) 以進行 Python 開發。
- 探索 範例 (Samples) 專區以取得程式碼範例。