I have a VideoCapture
in OpenCV, I can successfully display a given video. What I want to do now is to pause and play by pressing a key (optional which one as long as it works). I have been reading about waitKey
but there is something about this whole thing I don't get (ASCII) and how to bind keys. What I understand it is used to let highgui
process but can also be used for other purposes?
If it is hard/impossible to pause a video and start it again I would be happy with just a delay when key is pressed.
Help is much appreciated!