title: Using other keys for the waitKey() function of opencv
body: <p>I'm working on a program (python ,opencv) in which I use the <code>spacebar</code> to go to the next frame, and <code>Esc</code> to exit the program. These are the only two keys i've got working. I tried to find out about more keys , tried various codes for them but didnt work. especially arrow keys.</p>
  
  <p>I found <strong><a href="http://pklaus.github.com/HHG-Analysis-Python/helpers.html#module-keycode">this</a></strong> about <code>waitkey</code>, but it doesn't work.</p>
  
  <p>So my question is, How do I catch other keys besides <code>esc</code> and <code>spacebar</code> to trigger certain functions in my python-opencv program?</p>