Example #1
0
 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");
     }
 }