跳至內容
測試伺服器
開發伺服器

快速入門#

pylon Supplementary Package for blaze 是 pylon Software Suite的擴充套件。它提供對 Basler blaze 及 Smart blaze飛行時間 (ToF)3D 相機的支援。

補充套件包含以下內容:

  • GenICam 符合 GenTL 規範的 GenTL 產生器,適用於 Blaze 攝影機
  • 適用於 Blaze 相機的 pylon C++ 即時相機類別
  • Blaze 攝影機的 pylon .NET 參數清單
  • 針對 Blaze 的 C++、C#、VB 和 Python 程式設計範例
  • 以下是關於MVTec HALCON
  • Linux 僅限:Blaze 相機的 Robot Operating System (ROS 1) 驅動程式
    (您可從GitHub 下載 ROS 2 驅動程式。)

本指南提供有關 Basler blaze 及 Smart blaze 攝影機的特定資訊,因為這些攝影機未包含在pylon Software Suite 中的程式設計師指南中。

資訊

本主題中的所有資訊均適用於所有 blaze 及 Smart blaze 攝影機型號。為簡明起見,此處以「blaze」統稱所有型號。

To get familiar with the pylon APIs, refer to the following documents included in the pylon Software Suite:

An offline version is available in the pylon installation folder: C:\Program Files\Basler\pylon\Documentation\Current. Click start.htm to open the documentation.

To get familiar with the pylon C++ API refer to the pylon C++ Programmer's Guide.

有關如何操作 Basler blaze 相機及其各項功能的詳細資訊,請參閱「飛行時間相機」一節。

pylon 與 Basler Blaze SDK 的比較

pylon Software Suite 與pylon Supplementary Package for blaze 已取代 Basler blaze SDK。儘管 Basler 仍會繼續提供 Basler blaze SDK,以便使用者維護現有應用程式,但 Basler 強烈建議在開發新應用程式時使用pylon Supplementary Package for blaze 。

Blaze 攝影機的工具#

pylon IP Configurator#

請使用pylonIP Configurator來檢查及變更 Blaze 攝影機的 IP 設定。

To start the pylon IP Configurator, press the Win key, go to the Basler folder, and select pylon IP Configurator.

Press the Win key, type pylon IP, and click the pylon IP Configurator icon in the search results.

Start the IP configuration tool by issuing the following command:

/opt/pylon/bin/ipconfigurator

此外,您也可以在 Blaze Viewer 內點擊「工具」>「pylonIP Configurator 」來啟動 pylonIP Configurator 。

有關如何調整網路設定的詳細資訊,請參閱「網路設定」一節。

blaze#

Blaze Viewer提供了一個圖形化使用者介面,用於檢視和設定攝影機的功能,並預覽可用的串流格式。此外,它還允許您快速儲存影像。

To start the blaze Viewer, press the Win key, go to the Basler folder and select blaze Viewer.

If running the blaze Viewer fails due to problems with OpenGL, choose the blaze Viewer (no hardware acceleration) instead.

Press the Win key, type blaze, and click the blaze Viewer icon in the search results.

Start the blaze Viewer by issuing the following command:

/opt/pylon/bin/blazeViewer

如果 Blaze Viewer 無法找到您預期會出現的攝影機,請使用 IP Configurator來檢查並調整攝影機的 IP 位址設定。

診斷工具#

布雷茲·利斯特#

blaze Lister 是一款命令列工具,用於搜尋已連線的 blaze 攝影機,並輸出所找到裝置的相關資訊,包括其韌體版本。

To start the blaze Lister, press the Win key, go to the Basler folder, and select blaze Lister.

Press the Win key, type blaze, and click the blaze Lister icon in the search results.

Start the blaze Lister by issuing the following command:

/opt/pylon/bin/blazeLister

按下 Enter。

如果 Lister 未列出您預期應出現的攝影機,請使用 IP Configurator進行檢查並調整攝影機的 IP 位址設定。

blaze 測試#

blaze Test 應用程式是一個命令列工具,會持續從該工具偵測到的第一台 blaze 攝影機擷取資料。

該工具每 10 秒會輸出已擷取的圖片數量及串流統計資料。

您可以使用此工具檢查網路設定。若收到不完整的封包(這會反映在錯誤數、失敗封包數及 重傳封包數的數值持續增加上),請檢查您的網路設定。

To start the blaze Test application, press the Win key, go to the Basler folder, and select blaze Test.

Press the Win key, type blaze, and click the blaze Test icon in the search results.

Start the blaze Test application by issuing the following command:

/opt/pylon/bin/blazeTest

按下 Ctrl+C。

blaze 功能擷取器#

blaze Feature Dumper 是一款命令列工具,可連線至首台可用的 blaze 攝影機,並輸出攝影機參數清單及相關參數的詳細資訊。

To start the blaze Feature Dumper, press the Win key, go to the Basler folder, and select blaze Feature Dumper.

Press the Win key, type blaze and click the blaze Feature Dumper icon in the search results.

Start the blaze Feature Dumper by issuing the following command:

/opt/pylon/bin/blazeFeatureDumper

按下 Enter。