Introduction - If you have any usage issues, please Google them yourself
Provided in this case the use of DirectShow to replace the VFW opencv source code, and translated into algorithms iplimage format. Opencv experiment found the cvCaptureFromCAM using vfw, the use of information mechanism to slow fps test found that only about 9-12, too slow. discovered through the use of DirectShow to speed after 60/s.
Packet : 97288405directshow_opencv.rar filelist
Directshow_Opencv
Directshow_Opencv\New Folder
Directshow_Opencv\New Folder\ARFrameGrabber.cpp
Directshow_Opencv\New Folder\ARFrameGrabber.h
Directshow_Opencv\New Folder\main.cpp