Ask Your Question
0

Is OpenCV GigE Vision and GenIcam Compatible

asked 2017-08-02 17:00:08 -0600

DavidR gravatar image

Can OpenCV seamlessly interact with all cameras that comply with these standards

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-08-03 03:01:41 -0600

In general it's better to use the camera's native API to get the data and then use openCV to convert the returned data into an image, openCV contains a number of Bayer pattern ->BGR routines specifically for that. The VideoCapture interface is convenient for testing, because it can seemlessly read from a camera or a file - but it's not really suitable for high-speed real-time vision.

That being said, it depends on the camera. For example, OpenCV has a backend for the Allied Vision GigE camera's, and it has some other backends, but I am not aware of a universal one. I am unsure about the GenIcam ...

edit flag offensive delete link more

Comments

1

It would be nice to have a GenICam interface in OpenCV like Halcon and other CV libs have. Maybe any GSOC can be started on this focus in the future.

pklab gravatar imagepklab ( 2017-08-03 05:59:49 -0600 )edit

Ah well, find a student, find a mentor and suggest it in the next GSoC application round :)

StevenPuttemans gravatar imageStevenPuttemans ( 2017-08-03 06:17:58 -0600 )edit

But then again, even point grey suggests for example using their own backend and then encapsulate the data correctly: https://eu.ptgrey.com/support/downloa...

StevenPuttemans gravatar imageStevenPuttemans ( 2017-08-03 06:20:20 -0600 )edit
1

Sure native API gives more and specific options in special case of non compliant or special camera features.

Mostly, native API are written on top of GenICam. It would be great to see the generic programming interface provided by GenICam for all kind of cameras (Eth,USB,Cl,1394,...) available in OpenCV. This would give access to all GenICam compliant cameras without change source code.

I currently working with GenICam interface. It look is not so hard to import it in OpenCV...maybe a couple of volunteer are enough :)

pklab gravatar imagepklab ( 2017-08-03 10:09:12 -0600 )edit
1

@pklab do you know the proper steps to implement the two together? Also could it be done without becoming a member and using the on site downloads? I am using visual studio 2012 and C++

DavidR gravatar imageDavidR ( 2017-08-03 12:07:55 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2017-08-02 17:00:08 -0600

Seen: 6,762 times

Last updated: Aug 03 '17