What value does waitkey(1) returns?

What is the value returned by the function waitkey(1)

cv2.waitkey(1) waits for 1 ms and returns the code of the key on keyboard if it is pressed.

Hope this cleared your doubt. :blush:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.