Hi iam working on an AI project, i have coded a python code which will train and load the model and give prediction, for performance sake i coded the rest of back-end with c++.
I thought of re-write the whole python code into c++ but havent managed to do it correctly, so i figured out that it would be way easier if i let the python code run as a server, and c++ code will run as client, c++ client will feed python server an image and server will return c++ client with prediction image, the whole process will be in the same system.
Normally i would go for socket but since both server and client is in the same system, i think there must be a better solution.Iam working on ubuntu.
TLDT;What is the fastest approach for data (images) exchange between two programs in the same system (ubuntu OS)