You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
public static Capture CamCapture;
public static Mat Frame;
private void Form1_Load(object sender, EventArgs e)
{
CvInvoke.UseOpenCL = false;
CamCapture = new Capture();
CamCapture.ImageGrabbed += CamCapture_ImageGrabbed;
CamCapture.Start();
}
private void CamCapture_ImageGrabbed(object sender, System.EventArgs e)
{
Frame = new Mat();
var value= CamCapture.Retrieve(Frame);
camImg.Image = Frame;
}
how can i detected the webcam is working?
I can not found any properties or method to judge that is working.
the CamCapture.Retrieve(Frame) always is return true when the webcam line is pulled out.
The text was updated successfully, but these errors were encountered:
Hi,
public static Capture CamCapture;
public static Mat Frame;
private void Form1_Load(object sender, EventArgs e)
{
CvInvoke.UseOpenCL = false;
CamCapture = new Capture();
CamCapture.ImageGrabbed += CamCapture_ImageGrabbed;
CamCapture.Start();
}
private void CamCapture_ImageGrabbed(object sender, System.EventArgs e)
{
Frame = new Mat();
var value= CamCapture.Retrieve(Frame);
camImg.Image = Frame;
}
how can i detected the webcam is working?
I can not found any properties or method to judge that is working.
the CamCapture.Retrieve(Frame) always is return true when the webcam line is pulled out.
The text was updated successfully, but these errors were encountered: