0

I'm trying to do a simple opencv project to track colour and testing out my webcam at home as the school is crowded whenever I have the time to do my project. However opencv is not correctly using my webcam.

This is an image of the codes I used and the result.

enter image description here

I really need any help I can get.. The webcam I have is this: http://www.logitech.com/en-us/product/hd-webcam-c525

Would really appreciate any help :)

Does having a 64 bit computer make any difference? Because opencv is 32bit

4

1 回答 1

1

尝试打开其他摄像头,可能是您在系统中安装了一些虚拟网络摄像头。为此,将 cvCaptureFromCam 的参数更改为不同于 0 的值。

于 2013-08-03T16:58:39.273 回答