ubuntu16.04 basler相机 图像采集卡设置

1.首先安装basler驱动
上网站http://www.baslerweb.com/ 
根据自己的basle相机型号搜索相关驱动,下载gz包,解压该包,cd pylon-5.1.0.12682-x86_64,根据里面的INSTALL文件安装包,
第一步sudo tar -C /opt -xzf pylonSDK*.tar.gz,
然后./setup-usb.sh
2.设置相机的ip地址
按照INSTALL文件的说明,通过多个网络适配器连接多个摄像头的时候,每个适配器需要设置不同子网的ip地址,摄像头和适配器的ip在同一个子网内,即
Example: A computer has two network adapters - eth1 and eth2. One camera is to
be connected to each network adapter. Assign the address 192.168.1.1 to eth1
and 192.168.2.1 to eth2, and use the subnet mask 255.255.255.0 for both
adapters. Use the IP Configurator (see above) to assign a persistent IP
address from the 192.168.1.255 subnet to the camera connected to eth1 and a
persistent IP address from the 192.168.2.255 subnet to the camera connected to
eth2.
由于我采用的是用图像采集卡采集4个basler摄像头,根据INSTALL文件里的说明,只能用静态ip
1)首先把相机的网线连接到电脑自带的网络端口上(ps:先不要连到图像采集卡端口,因为识别不出来),然后设置相应的ip.
2)设置网络适配器ip,打开sudo vi /etc/network/interfaces,添加
auto eth0

iface eth0 inet static

address IP地址

gateway 网关

netmask 子网掩码
要和刚才设置的相机ip在同一个子网内

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值