public FrameGrabber(CameraSummary summary, string moniker) { this.summary = summary; this.moniker = moniker; device = new VideoCaptureDevice(moniker); device.SetDirectConnectFormats(new List <string>() { "RGB24", "MJPG" }); }
public FrameGrabber(CameraSummary summary, string moniker) { this.summary = summary; this.moniker = moniker; device = new VideoCaptureDevice(moniker); device.SetDirectConnectFormats(new List <string>() { "RGB24", "MJPG" }); }