开发者

cvCaptureFromCam is working but cvQueryFrame returns NULL

开发者 https://www.devze.com 2023-03-23 23:05 出处:网络
I have seen most people have problems with cvCaptureFromCam where as for me cvCaptureFromCam(-1) is working fine and returning a non-null pointer; however cvQueryFrame is returning NULL. To go in deta

I have seen most people have problems with cvCaptureFromCam where as for me cvCaptureFromCam(-1) is working fine and returning a non-null pointer; however cvQueryFrame is returning NULL. To go in details I used cvGrabFr开发者_JAVA技巧ame and cvRetrieveFrame. cvGrabFrame is returning 1 that means its successfully grabbed the frame but cvRetrieveFrame returned NULL. Can somebody please guide me.

0

精彩评论

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