My project is composed of two sections:
- A GUI - programmed in C++ with QT
- A Python application - doing some image processing (AI)
My problem is that I want my GUI to be able to call the Python app to process an image and then, receive the result. My project should be multi-platform.
My question is, what is the best solution to my situation based on your experience?
My hypothesis:
- A python web API <---> C++ GUI. (Easiest solution but I would need a physical server...)
- A Cython .so library embedded in the c++ GUI application. (Seems possible but not enough documentation on internet to do so)
- A Python program communicating with my GUI using MPI (Message Passing library). So, having two processes running on the system and communicating with each other.