Basler bip2 640c 相机 Pylon 连接

huangapple go评论179阅读模式
英文:

Basler bip2 640c camera pylon connection

问题

我想使用OpenCV处理来自Balser Bip2 640c相机的图像,使用Pylon SDK。我已尝试使用SDK示例连接相机,但无法找到相机。这些旧相机需要特殊的SDK吗?

我已尝试打印可用的相机名称,但没有任何结果。

from pypylon import pylon
tl_factory = pylon.TlFactory.GetInstance()
devices = tl_factory.EnumerateDevices()
for device in devices:
    print(device.GetFriendlyName())
英文:

I want to use opencv to process images from Balser Bip2 640c camera using the pylon sdk. I have tried the sdk example to connect to the camera but I cannot find the camera. Is that a special sdk for these old cameras?

I have tried to print the available camera name but nothing work

from pypylon import pylon
tl_factory = pylon.TlFactory.GetInstance()
devices = tl_factory.EnumerateDevices()
for device in devices:
    print(device.GetFriendlyName())

答案1

得分: 1

Pylon SDK不适用于旧的BIP2摄像机。这些摄像机是基于RTSP的压缩流IP摄像机,访问它们需要多个步骤:

  • BIPFinder.exe软件 - 您可以使用该软件来在网络中查找设备,设置正确的IP地址。尝试在www.baslerweb.com的“软件下载”部分查找它。但不确定是否仍然可用。

  • Web界面 - 一旦通过BIPFinder发现摄像机,您可以在浏览器中打开其界面。在那里配置摄像机,更改设置,获取预览等。

  • HTTP/CGI API - 您可以使用它来以编程方式发送命令并从摄像机获取视频流。搜索“Basler BIP2 API描述”PDF文档以获取更多信息。版本3.x应该适用于BIP2。

在OpenCV的一端,有方法可以直接连接到流,提供摄像机流的URL(类似于这里)。在[opencv]标签下查找更多信息,只需浏览Stack Overflow。

希望对您有所帮助。

英文:

Pylon SDK is not the way to go with old BIP2 cameras. These are RSTP-based compressed stream IP cameras and there are several steps to access them:

  • BIPFinder.exe software - you discover devices in your network, set proper IP number. Try to find it on www.baslerweb.com in Software Downloads section. Not sure however if it's still there.

  • web interface - once camera is discovered via BIPFinder, then you open its interface in your browser. You configure it there, change settings, get preview ect.

  • HTTP/CGI API - you can use it to programmatically set commands and get video stream from camera. Google for "Basler BIP2 API Description" pdf document. Version 3.x should work for BIP2.

On OpenCV's end, there are methods to directly connect to stream, given camera stream's url (like here). Just browse SO for more information under tag [opencv].

Hope it helps.

huangapple
  • 本文由 发表于 2023年3月7日 23:34:53
  • 转载请务必保留本文链接:https://go.coder-hub.com/75664027.html
  • basler
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定