예제 #1
0
 public CVCapture(int cameraId)
 {
     asImage = null;
     capture = PInvoke.cvCreateCameraCapture(cameraId);
     CVUtils.CheckLastError();
 }
예제 #2
0
 public CVCapture()
 {
     asImage = null;
     capture = PInvoke.cvCreateCameraCapture((int)CV_CAP.CV_CAP_ANY);
     CVUtils.CheckLastError();
 }