public WebcamFrameProducer(int cameraId, int width, int height) { _reader = new SequenceReader(cameraId, width, height); if (!_reader.IsOpened()) { throw new Exception("Could not start the web-cam"); } }