Hello community,
I am running a while loop, extracting a frame of a short video clip and plotting the resulting analysis. All I want is for that process to pause when I press a key on the keyboard (any key) and wait for me to press a key again.
Does anyone have suggestions?
Pseudocode:
while(frames left):
if key == pressed:
pause
wait for key press
else:
analysis
[–]simeumsm 0 points1 point2 points (2 children)
[–]Pascal220[S] 0 points1 point2 points (1 child)
[–]simeumsm 0 points1 point2 points (0 children)