Пример #1
0
        public FrameGrabber(CameraSummary summary, string moniker)
        {
            this.summary = summary;
            this.moniker = moniker;

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