Communication between Python Keras CNN Model and C# Backend Project
Something that I did for a project that had a similar structure, was to run the python model in Django framework locally and make the C# backend to communicate with the model through a Django service. Django will run as a local web service.
This was a good pattern in my idea as it would isolate the python model and I was able to alter it separately from the C# backend. The python model could become available as a web service for other projects that need the same functionality.
I've heard C# is able to run python code within the code, so you can use that too.
I have prer-trained python model at local jupyter notebook and C# backend which is working on Visual Studio. I have input picture and I have to send Python model and evaluate after I have to take back for prediction result to C# backend. How can I do this communications on simplest way? I am thinking on service comminication between them, is there a possible solution for it?