예제 #1
0
 public void CaptureCamera(int?index = null)
 {
     VideoCapture.CaptureCamera(index);
     videoSourcePlayerMonitor.VideoSource = VideoCapture.VideoSource;
     buttonCaptureCamera.Text             = $"采集USB[{VideoCapture.CameraIndex}]";
     buttonCaptureScreen.Text             = $"采集屏幕";
 }