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);
专注机器视觉