Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Imshow not working in while loop

I am truing to write an imshow command in a while loop which is part of a void thread but the debugger wont pick it up saying there is no instance of an overloaded function "imshow" in argument list.

void* Display(void* params) { Mat pImg = (Mat)params; namedWindow("video", WINDOW_AUTOSIZE); while (bDisplay) { imshow("Video", pImg); waitKey(100); }

that is the code for the void thread. Any ideas on why it wont allow me to put an imshow in?

Imshow not working in while loop

I am truing to write an imshow command in a while loop which is part of a void thread but the debugger wont pick it up saying there is no instance of an overloaded function "imshow" in argument list.

void* Display(void* params) {
    Mat pImg *pImg = (Mat)params;
(Mat*)params;
    namedWindow("video", WINDOW_AUTOSIZE);
    while (bDisplay)
    {
        imshow("Video", pImg);
        waitKey(100);
    }

}

that is the code for the void thread. Any ideas on why it wont allow me to put an imshow in?

Imshow not working in while loop

I am truing to write an imshow command in a while loop which is part of a void thread but the debugger wont pick it up saying there is no instance of an overloaded function "imshow" in argument list.

void* Display(void* params) {
    Mat *pImg = (Mat*)params;
    namedWindow("video", WINDOW_AUTOSIZE);
    while (bDisplay)
    {
        imshow("Video", pImg);
        waitKey(100);
    }

that is the code for the void thread. Any ideas on why it wont allow me to put an imshow in?

Imshow imshow() not working in while loop

I am truing trying to write an imshow command in a while loop which is part of a void thread but the debugger wont pick it up saying there is no instance of an overloaded function "imshow" in argument list.

void* Display(void* params) {
    Mat *pImg = (Mat*)params;
    namedWindow("video", WINDOW_AUTOSIZE);
    while (bDisplay)
    {
        imshow("Video", pImg);
        waitKey(100);
    }

that is the code for the void thread. Any ideas on why it wont allow me to put an imshow in?