OpenCV with GigE Vision Cameras

Dr. Snoopy picture Dr. Snoopy · Jul 27, 2010 · Viewed 48.2k times · Source

I need to use OpenCV with a GigE Vision Ethernet Camera, but I couldn't find much useful information on how to do this, any pointers, documents and example code?

I need to read frames from the camera.

Answer

Martin Beckett picture Martin Beckett · Aug 2, 2010

Gig-E is a communication standard for a wide range of cameras. OpenCV now contains a wrapper for The Prosilica Gig-E based cameras (see CV_CAP_PVAPI)

But 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 ->RGB routines.

The CvCapture module 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