快速入門#
先決條件#
- BaslerStereo 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 編碼,8 針腳 |
| STM-955g | GigE | M12 X 編碼,8 針腳 |
有關詳細規格,請參閱「產品規格」一節。
安裝與設定#
- 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 針連接線,將攝影機連接至您的網路。
GigE 型號支援乙太網路供電(PoE,IEEE 802.3af)。此外,亦可透過獨立的DC 電源供應器(9–24 V)為其供電。 - 請確認您的網路介面卡和交換器是否支援千兆乙太網路。
- 連線完成後,請開啟pylon 3D Viewer 來確認連線狀態。
若攝影機未立即顯示,請點擊「重新整理」按鈕。
驗證連線#
pylon IP Configurator#
請使用 pylonIP Configurator 來檢查及變更 GigEStereo mini 攝影機的 IP 設定。
此外,您也可以在「pylon 3D Viewer 」中,透過點選「工具」>「pylonIP Configurator 」來啟動 pylonIP Configurator 。
使用pylon 3D Viewer#
pylon 3D Viewer 提供了一個圖形化使用者介面,用於檢視和設定攝影機的功能,並可預覽可用的串流格式。此外,您還可透過此介面儲存影像。
- 開啟 pylon 3D Viewer。
您的相機應會出現在裝置清單中。 - 點擊您的攝影機以選取它。
您應可看到即時深度影像與 RGB 影像串流。
下一步#
- 請參閱《C++ 程式設計師指南》以進行 C++ 開發。
- 請閱讀《Python 程式設計師指南》以進行 Python 開發。
- 請瀏覽「範例」區塊,查閱程式碼範例。