Currently I’m figuring out how to send data from the processing chain to the UI (browser). The problem is that the processing chain is executed within another thread. I need some kind of message queue.
But despite that I’ve implemented a connection pool. A connection pool is some kind of list where every open websocket connection lays. With that I can publish information to all browsers that are viewing the UI. This is important because you could open the UI from different devices (e.g. use your tablet as dashboard and use the PC’s browser for config). Every instance should see the same information at the same time.
The next step – besides the thread issue above – is to send the current captured image to the browser.