当前位置:   article > 正文

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

python打开大华工业相机

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.

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/102949
推荐阅读
相关标签
  

闽ICP备14008679号