public BaslerCamera(Basler.Pylon.ICameraInfo cameraInfo) { _grabCount = -1; _count = 0; _camera = new Basler.Pylon.Camera(cameraInfo); _camera.StreamGrabber.ImageGrabbed += StreamGrabber_ImageGrabbed; _camera.Open(); _converter = new Basler.Pylon.PixelDataConverter(); _converter.OutputPixelFormat = Basler.Pylon.PixelType.RGB8packed; }
public CameraDriver_Basler() { _stopWatch = new System.Diagnostics.Stopwatch(); _converter = new PixelDataConverter(); _isBandedCameraEvent = false; }