Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Try below code

char winName[30];
for (int i=0; i<keyframesbuffer.size(); i++)
 {
    sprintf(winName,"Window%d",i);
    imshow(winName,keyframesbuffer[i]);
    cv::waitKey(60);

 }

Try below code

char winName[30];
winName[20];
for (int i=0; i<keyframesbuffer.size(); i++)
 {
    sprintf(winName,"Window%d",i);
    imshow(winName,keyframesbuffer[i]);
    cv::waitKey(60);

 }