public CVCapture(int cameraId) { asImage = null; capture = PInvoke.cvCreateCameraCapture(cameraId); CVUtils.CheckLastError(); }
public CVCapture() { asImage = null; capture = PInvoke.cvCreateCameraCapture((int)CV_CAP.CV_CAP_ANY); CVUtils.CheckLastError(); }