Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You should call cvWaitKey with some delay:

cvWaitKey(10);

When you call cvWaitKey without parameter it means "wait forever while not key pressed".