开发者

Can OpenCV 2.2 provide cameras devices names for me?

Can OpenCV 2.2 provide cameras devices names for me?

Why I ask - normally (on Mac and Linux) simple hand written camera index lister (like this one here based on this research) works for 2.2.0 but on windows it works for OpeCV 2.1 and minor versions. And when you get on to 2.2.0 you for example start expi开发者_如何学编程riencing problems

  • With ALL wirtual cameras
  • With lots of non virtual cameras.

And I tall you - it sucks when your code worked all across all platforms and than broke.

They say OpenCV can be recompiled manually with HAVE_VIDEOINPUT HAVE_DSHOW options... but I (C++ kind of beginner) really would like to see either a tutorial (step by step on to recompile openCV with such params for example from my vs08) or, better solution a way to get capturable camera names from OpenCV to be capable to say to user something like

We use OpenCV for camera capture and It has not found ANY CAPTURABLE DEVICES ON YOUR MACHINE AT ALL (while we bouth now you have at least 2) Go, buzz openCV community.

second option is rude. and I am deeply sorry but please OpenCV guys help us all save the world - provide cameras names lister=)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜