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
cv::VideoCapture cap(imagepath);
if (!cap.isOpened()) {
cerr << "ERROR: Unable to open the camera" << endl;
return0;
}
cout << "Start grabbing, press ESC on Live window to terminate" << endl;
while(1){
// orig_img=cv::imread(imagepath, 1);
cap >> orig_img;
cv::VideoCapture cap(imagepath);
if (!cap.isOpened()) {
cerr << "ERROR: Unable to open the camera" << endl;
return0;
}
cout << "Start grabbing, press ESC on Live window to terminate" << endl;
while(1){
// orig_img=cv::imread(imagepath, 1);
cap >> orig_img;
No description provided.
The text was updated successfully, but these errors were encountered: