Is MouseCallback running in another thread?

your callbacks are called in waitKey()

waitKey()'s purpose isn’t to wait for a key. its purpose is to process GUI events.

2 Likes