Attention! This forum will be made read-only by Dec-20. Please migrate to Most of existing active users should've received invitation by e-mail.
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') {}