Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Advise for image exchange between Qt c++ and PyQt for displaying results
I am processing the images in the PyQt python code and and want to send this QImage to the Qt C++ app running on the same computer.
I try to exchange data with mqtt which is quite succesfull but looks slow for big images.
I want to play result like a video on the Qt C++ app .
What could be your suggestion ? sockets ?
any samples very appreciated (python PyQt >>>Qt C++ )
What processing are you doing exactly ?
JonB last edited by
After that, why are using both PyQt and Qt C++? Are these in separate processes, is something already written in each of them? You may have good reasons, but one's first inclination is why have two different languages if you could write your stuff all in one, and possibly all in one program if that is suitable?
@SGaist I am processing the video feed mostly. detecting object and make annotation on the frame. I want to send this frame(image) to the Qt c++ app. Detection and processing done by python PyQt side.
@JonB we have no chance to make them all in one at the moment.
@rahibemeryem You could send annotations without actual frames instead of sending frames with annotations. The C++ app can read the video feed by itself an put the annotations on top of it. This way you would exchange less data between both apps.