VisionPro学习笔记:用IEEE1394相机抓取图像

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);

 

posted @ 2015-11-06 09:56  可为测控  阅读(3031)  评论(1编辑  收藏  举报