Ask Your Question

david laine's profile - activity

2014-02-05 03:08:22 -0600 received badge  Necromancer (source)
2014-02-04 13:44:23 -0600 answered a question cvWaitKey is not generating key codes for naviagation keys

My experience leads me to believe that cvWaitKey only picks up keys during the wait period and misses some or all keys pressed outside of the wait.

On the question of arrow keys I suggest you write a little piece of code to print out what cvWaitKey actually sees when you press the appropriate keys. I get 82 and 84 (decimal) for the up and down arrows but these values may be different on some other systems.

regards

David Laine