First time here? Check out the FAQ!
answered 2012-11-17 07:35:58 -0600
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') {}