python相机拍照显示,与Python的工业视觉照相机

博主分享了在Python中使用工业相机的经验,推荐了Allied Vision和XIMEA相机,并提供了与这些相机集成的简单CV库的示例代码。通过安装相应驱动,可以轻松设置相机参数如曝光和增益,无需掌握除Python以外的其他语言。
摘要由CSDN通过智能技术生成

Is there any industrial computer vision camera that comes with a Python interface, or that has a well developed third-party solution?

I have been doing some work using webcams, which are easily accessible through for example OpenCV. However, now I need a camera which is more robust and flexible. I need to be able to set certain parameters such as exposure and gain. As far as possible I want to avoid developing in other languages than Python, since Python is what I know best.

I have seen plugins such as pyueye for uEye cameras, which seems fine, except that this does not work well in Windows.

解决方案

Not sure why this has been voted down. Anyway, I'm one of the core simplecv (http://simplecv.org) developers and use Industrial Cameras everyday. We have integrated support for Allied Vision Cameras, and XIMEA cameras.

If you have the drivers installed it's literally as easy as:

cam = AVTCamera()

cam = Camera('ximea')

As for the XIMEA cameras you need to install the XIMEA camera driver that comes with the software, then build OpenCV with the flag

cmake -DWITH_XIMEA=ON ..

As for Allied Vision, you just need to install the driver and everything should work.

I've tested both USB and CURRERA model of XIMEA's camera and they work.

I've also tested on Allied Manta but should work with all their models in theory. It's also using the allied legacy driver. At the time they have recently recently VIMBA which is their new driver, I emailed them as of last week asking when 1.1 is expected as it will include linux support but they said not for a few months. Once they do I will make sure SimpleCV is compatible.

I have not tested on windows either (linux only), but in theory should work on windows as long as drivers are installed.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值