如何將web camera 的畫面引入變數矩陣? |
尚未結案
|
dannycclin
一般會員 發表:1 回覆:0 積分:0 註冊:2003-01-13 發送簡訊給我 |
|
cmf
尊榮會員 發表:84 回覆:918 積分:1032 註冊:2002-06-26 發送簡訊給我 |
引言: 您好 我想將webcam的每個frame的畫面存到程式的變數矩陣中做 影像處理,我應該如何做? 謝謝 dannycclin@pchome.com.twcapVideoStreamCallback The capVideoStreamCallback function is the callback function used with streaming capture to optionally process a frame of captured video. It is registered by the capSetCallbackOnFrame macro. The capVideoStreamCallback callback function is a placeholder for the application-supplied function name. LRESULT CALLBACK capVideoStreamCallback( HWND hWnd, LPVIDEOHDR lpVHdr ); Parameters hWnd Handle to the capture window associated with the callback function. lpVHdr Pointer to a VIDEOHDR structure containing information about the captured frame. Remarks The capture window calls a video stream callback function when a video buffer is marked done by the capture driver. When capturing to disk, this will precede the disk write operation. Requirements Windows NT/2000/XP: Included in Windows NT 3.1 and later. Windows 95/98/Me: Included in Windows 95 and later. Header: Declared in Vfw.h. See Also Video Capture Overview, Video Capture Functions, capSetCallbackOnFrame, VIDEOHDR 詳細內容: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/mmfunc_1uaz.asp
------
︿︿ |
RaynorPao
版主 發表:139 回覆:3622 積分:7025 註冊:2002-08-12 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |