Cannot access usb webcam through OpenCV, Cygwin

拟墨画扇 提交于 2019-12-24 02:08:17

问题


I've downloaded and installed cygwin for windows, I downloaded opencv (ported version for cygwin) and installed it successfully and my code compiles.

The problem I have is that CvCapture* capture = cvCreateCameraCapture(-1); is always null!

The usb webcam is connected and is not in use. Why I can't access my webcam in cygwin? (Is there any particular reason like for example I should mount the device first, If this is the case I have no knowledge about it)

Please advice

来源:https://stackoverflow.com/questions/7706523/cannot-access-usb-webcam-through-opencv-cygwin

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!