OpenCV + Webcam兼容性 [英] OpenCV + Webcam compatibility

查看:225
本文介绍了OpenCV + Webcam兼容性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于有OpenCV经验的人,是否有任何与OpenCV不兼容的网络摄像头。

For the people that have experience with OpenCV, are there any webcams that don't work with OpenCV.

我正在研究项目的可行性和我知道我需要一个高质量的饲料(1080p),所以我需要一个能够做到这一点的网络摄像头。那么OpenCV对某些相机有问题吗?

I am looking into the feasibility of a project and I know I am going to need a high quality feed (1080p), so I am going to need a webcam that is capable of that. So does OpenCV have problems with certain cameras?

为了分析那个分辨率的视频信号,我需要一个快速的处理器,我知道这个,但是我是否需要一台非消费者可用的机器...即i7会这样做吗?

To be analysing a video feed of that resolution on the fly I am going to need a fast processor, I know this, but will I need a machine that is not consumer available...ie, will an i7 do?

谢谢。

推荐答案

在Linux上,如果v4l2支持它,它可能会起作用(例如,我的家庭网络摄像头没有列出,但它是v4l2兼容并开箱即用)。您始终可以使用相机制造商的驱动程序来获取帧,并将它们提供给您的OpenCV代码。您甚至可以对VideoCapture类进行子类化,并实现您的相机驱动程序,使其与OpenCV无缝协作。

On Linux, if it's supported by v4l2, it is probably going to work (e.g., my home webcam isn't listed, but it's v4l2 compatible and works out of the box). You can always use the camera manufacturer's driver to acquire frames, and feed them to your OpenCV code. You can even sub-class the VideoCapture class, and implement your camera driver to make it work seamlessly with OpenCV.

我认为最新的i7系列应该可以正常工作。您可能还想查看英特尔的 IPP 库以获取更多信息优化的例程。 IPP也很容易集成到OpenCV代码中,因为OpenCV是一个英特尔项目的开始。

I would think the latest i7 series should work just fine. You may want to also check out Intel's IPP library for more optimized routines. IPP also easily integrates into OpenCV code since OpenCV was an Intel project at its inception.

如果您需要真正快速的图像处理,您可能需要考虑添加高性能GPU在框中,以便您可以使用该选项。

If you need really fast image processing, you might want to consider adding a high performance GPU to the box, so that you have that option available to you.

这篇关于OpenCV + Webcam兼容性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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