CreateCapture() публичный Метод

Creates a capture.
public CreateCapture ( int selection ) : Capture
selection int The camera selection.
Результат Emgu.CV.Capture
Пример #1
0
        public CameraViewModel()
        {
            if(IsInDesignMode)
                return;

            SelectedCam = Properties.Settings.Default.SelectedCam;
            DetectionEnabled = Properties.Settings.Default.DetectionEnabled;
            Fps = 0;

            CameraHandler = new CameraHandler();
            Capture = CameraHandler.CreateCapture(SelectedCam);
            Capture.SetCaptureProperty(CapProp.Fps, 30);
            Capture.ImageGrabbed += CaptureOnImageGrabbed;

            _fpsStopwatch = Stopwatch.StartNew();
            _delayStopwatch = new Stopwatch();

            InitializeMessageHandler();
            RefreshCameras();
        }