开发者

how can we start and stop the webcam in opencv?

I am trying to capture images from webcam using opencv. When i call cvQueryFrame() the image is read and the cam starts. I want cam to stop because it will be used by 开发者_如何学Pythonother application.

Can anyone help me with this?

Thanks a lot.


Isn't cvReleaseCapture() working ?

I would just stop the frame query, (stop the loop you use to capture frame) and then simply release the capture... Is it what you are searching for ? Here is the documentation

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜