UI calls in different threads (imshow) how to detect and avoid.

asked 2020-09-30 11:21:37 -0500

csggnn gravatar image

As stated by different sources, such as https://github.com/opencv/opencv/issu... interacting with UI only works well in the main thread. However, this poses problems when writing a library and having no control over which thread will call which function How can one identify cases in which UI functions are not called by the main thread so that they e.g. be disabled preventing freeze?

edit retag flag offensive close merge delete