标签:
1)找到采集卡: CogFrameGrabber1394DCAMs cameras = new CogFrameGrabber1394DCAMs();
2)列举相连接的相机: ICogFrameGrabber camera = cameras[0];
3)选择相机支持的格式:
const string VIDEO_FORMAT = "Basler A602fc 656x490 IEEE1394 (mono, 100fps, shutter-hw-triggermode0)
CCF"; ICogAcqFifo fifo = camera.CreateAcqFifo( VIDEO_FORMAT, CogAcqFifoPixelFormatConstants.Format8Grey, 0, true);
标签:
原文地址:http://www.cnblogs.com/amosyang/p/4941746.html