![]() | 1 | initial version |
Is your capturing device actually capturing frames in the first place? Could you check it with:
VideoCapture cap(0); // open the default camera
if(!cap.isOpened()) // check if we succeeded
cout<< "Something is wrong, I am not receiving anything!"<<endl;
![]() | 2 | No.2 Revision |
A wild guess: Is your capturing device actually capturing frames in the first place? Could you check it with:
VideoCapture cap(0); // open the default camera
if(!cap.isOpened()) // check if we succeeded
cout<< "Something is wrong, I am not receiving anything!"<<endl;
![]() | 3 | No.3 Revision |
A wild guess: Is your capturing device actually capturing frames in the first place? Could you check it with:
VideoCapture cap(0); // open the default camera
if(!cap.isOpened()) // check if we succeeded
cout<< "Something is wrong, I am not receiving anything!"<<endl;
More can be found here.