OpenCV与GigE Vision相机 [英] OpenCV with GigE Vision Cameras

查看:2875
本文介绍了OpenCV与GigE Vision相机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用具有GigE Vision以太网摄像机的OpenCV,但是我找不到有关如何执行此操作的任何指针,文档和示例代码的有用信息。

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.

推荐答案

Gig-E是各种相机的通讯标准。 OpenCV现在包含 Prosilica Gig-E 的摄像机(参见CV_CAP_PVAPI)

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)

但是一般来说,最好使用摄像机的本地API获取数据,然后使用openCV将返回的数据转换为图像,openCv包含许多拜耳模式 - > RGB例程。

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.

CvCapture模块便于测试,因为它可以无缝地从相机或文件读取 - 它不是真正适合高速实时视觉

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

这篇关于OpenCV与GigE Vision相机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆