1 | initial version |
It's simple: don't call cvNamedWindow()
, cvShowImage()
and cvDestroyWindow()
.
2 | No.2 Revision |
It's simple: don't call cvNamedWindow()
, cvShowImage()
and cvDestroyWindow()
.
In other words, remove all those lines from your code, but leave the call to cvWaitKey(33)
. This function makes the loop sleep for 33ms before the next frame is retrieved.