快速入門#
先決條件#
- Basler Stereo mini 相機(USB 或 GigE 型號,請參見下表)
- 執行 Windows、Linux 或 Linux ARM 的電腦
- 電腦上已安裝 Basler pylon SDK
- 電腦上已安裝適用於 Stereo mini 的 Basler pylon 輔助套件
支援的相機型號#
| 模型 | 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 型號支援 Power over Ethernet (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 提供了一個圖形化使用者介面,用於檢視與設定相機的 Property,以及視覺化可用的串流格式。它也允許您儲存影像。
- 開啟 pylon 3D Viewer。
您的相機應會顯示在裝置清單中。 - 點擊您的相機以進行選取。
您應該會看到即時的深度與 RGB 影像串流。
後續步驟#
- 請閱讀 C++ Programmer's Guide 以進行 C++ 開發。
- 請閱讀 Python Programmer's Guide 以進行 Python 開發。
- 探索 Samples 區段以取得程式碼範例。