本文基于DirectShow设计了一个用于证件信息采集系统的图像采集模块。该图像采集模块包括CVGraph,CVSampleGrabberCB及CVCaptureGraph三个类,具有视频流中帧数据捕获和静态引脚图像捕获两种采集方式。对这两种方式进行了分析比较,并给出了整个采集图像的流程图。最后实验表明该图像采集模块是可行的和有效的。
In this paper we design a image acquisition module used for Certificates Information Acquisition System.This module includes a CVGraph Class,CVSampleGrabberCB Class and CVCaptureGraph Class and has tow image capture modes,capture the image from video stream and by still pin.We also compare these tow modes and present the whole image acquisition flow chart.Final experiment manifests that this image acquisition module is feasible and effective.