A
Arsalan Ahmad
Hi all,
I have written an application in which i have used capXXXX() functions like
capCreateCaptureWindow() and many others etc to capture video frame from
web-cam attached to USB port of my PC. The problem is that right now in
order to grab each frame I have to call capGrabFramNoStop() function, after
calling which my callback function is called with a pointer to videostream
buffer. So I have to call capGrabFrameNoStop() function each time to get the
pointer of the captured frame. I dont want to do this. How can I make my
application to automatically called the callback function whenever a new
frame is captured by my camera, so that there is no need for me to call the
capGrabFraeNoStop() function every time in a timer? Here I would like to
mention that I need the pointer to the captured video buffer.
Thanks,
Arsalan Ahmad
I have written an application in which i have used capXXXX() functions like
capCreateCaptureWindow() and many others etc to capture video frame from
web-cam attached to USB port of my PC. The problem is that right now in
order to grab each frame I have to call capGrabFramNoStop() function, after
calling which my callback function is called with a pointer to videostream
buffer. So I have to call capGrabFrameNoStop() function each time to get the
pointer of the captured frame. I dont want to do this. How can I make my
application to automatically called the callback function whenever a new
frame is captured by my camera, so that there is no need for me to call the
capGrabFraeNoStop() function every time in a timer? Here I would like to
mention that I need the pointer to the captured video buffer.
Thanks,
Arsalan Ahmad