Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

waitKey returns the ASCII code for the letter. It is different for uppercase and lowercase letters.

char c = cv::waitKey();
if(c == 'u') {}
if(c == 'U') {}