Method WaitKeyEx
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
WaitKeyEx(int)
Waits for a pressed key. Similar to #waitKey, but returns full key code. Key code is implementation specific and depends on used backend: QT/GTK/Win32/etc
public static int WaitKeyEx(int delay = 0)
Parameters
delayintDelay in milliseconds. 0 is the special value that means ”forever”
Returns
- int
Returns the code of the pressed key or -1 if no key was pressed before the specified time had elapsed.