Method PollKey
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
PollKey()
Polls for a pressed key without waiting. To wait until a key is pressed, use WaitKey instead. Only works if there is at least one HighGUI window created and active.
public static int PollKey()
Returns
- int
Returns the code of the pressed key or -1 if no key was pressed since the last invocation.