带有 GigE Vision 相机的 OpenCV [英] OpenCV with GigE Vision Cameras

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

问题描述

我需要将 OpenCV 与 GigE Vision 以太网相机一起使用,但我找不到有关如何执行此操作的很多有用信息、任何指针、文档和示例代码?

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?

我需要从相机读取帧.

推荐答案

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包含了许多Bayer模式->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

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

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