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
My apologies i could not find an option to ask a question so putting it here. I have recently migrated my Windows Forms app from .Net Framework 4.7 to .Net 7.0 and my code no longer works with cameras to capture images. Now Open() method is returning false:
int camera = 0;
this.f_frame = new Mat();
this.f_capture = new VideoCapture(camera, VideoCaptureAPIs.ANY);
bool CamOpenStatus = this.f_capture.Open(camera);
Plz suggest a fix, if there is any. Thanks.
Windows 11, C#, In settings, apps can access camera
The text was updated successfully, but these errors were encountered:
My apologies i could not find an option to ask a question so putting it here. I have recently migrated my Windows Forms app from .Net Framework 4.7 to .Net 7.0 and my code no longer works with cameras to capture images. Now Open() method is returning false:
int camera = 0;
this.f_frame = new Mat();
this.f_capture = new VideoCapture(camera, VideoCaptureAPIs.ANY);
bool CamOpenStatus = this.f_capture.Open(camera);
Plz suggest a fix, if there is any. Thanks.
Windows 11, C#, In settings, apps can access camera
The text was updated successfully, but these errors were encountered: