Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Industrial vision camera with Python [closed]

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.

like image 652
sulkeh Avatar asked Mar 05 '13 18:03

sulkeh


People also ask

What is SimpleCV?

SimpleCV is an open source framework for building computer vision applications, user can get access to several high-powered computer vision libraries such as OpenCV without having to learn about bit depths, file formats, color spaces, buffer management, eigenvalues, or matrix versus bitmap storage.

How does a machine vision camera work?

Machine vision uses sensors (cameras), processing hardware and software algorithms to automate complex or mundane visual inspection tasks and precisely guide handling equipment during product assembly. Applications include Positioning, Identification, Verification, Measurement, and Flaw Detection.


1 Answers

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.

like image 175
xamox Avatar answered Sep 24 '22 11:09

xamox