capGrabFrame!!! How can i get the Frame?
-
Good Morning, I have a problem with vfw (Video for Windows) and could need some advices. I tryed to catch a single frame from a webcam. I've got not much experience in programming with visual c++, i would be very thankful for any help. The Code looks like this: HWND hwndVideo; // Is a global Variable //create capture window hwndVideo = capCreateCaptureWindow((LPCWSTR)"WebCam", WS_CHILD | WS_VISIBLE, 0 ,0, (int)640, (int)480, m_CamWnd, (int)3); //start the Preview capPreviewRate(hwndVideo, 20); capPreview(hwndVideo, true); //I tryed to get the frame with capGrabFrame, but i wasnt able to get the framedata. capGrabFrame(hwndVideo); // or capGrabFrameNoStop(hwndVideo); How can i get the framedata to work with it??? :confused:
-
Good Morning, I have a problem with vfw (Video for Windows) and could need some advices. I tryed to catch a single frame from a webcam. I've got not much experience in programming with visual c++, i would be very thankful for any help. The Code looks like this: HWND hwndVideo; // Is a global Variable //create capture window hwndVideo = capCreateCaptureWindow((LPCWSTR)"WebCam", WS_CHILD | WS_VISIBLE, 0 ,0, (int)640, (int)480, m_CamWnd, (int)3); //start the Preview capPreviewRate(hwndVideo, 20); capPreview(hwndVideo, true); //I tryed to get the frame with capGrabFrame, but i wasnt able to get the framedata. capGrabFrame(hwndVideo); // or capGrabFrameNoStop(hwndVideo); How can i get the framedata to work with it??? :confused:
http://www.codeproject.com/KB/system/DigitalCameraConn.aspx[^] Just Try this link.
-@SuDhIrKuMaR@-