1 | initial version |
My workaround is to start a thread in python that only deals with opencv named window display. Communicate with this displaying thread via a thread-safe queue. The displaying thread is just a consumer who fetches constantly the (window_name, image) pairs from the queue and all other image topic callback functions are just supplier who feeds this queue.