I have a neural network in a jupyter notebook which I am usting as a black box for my program. The network takes an image in, makes some changes and returns an image back. I am trying to find a way to send the image and an int value from the winform into the jupyternotebook (probably as a path to it) and then return the result back to the windows forms with the ability to save it on the computer. If it would help, the neural network is based on Keras.
I tried some guides that i have found on the internet, i will link them below, and asked a couple of teachers for help but I didn't have any results.
Here are the things I have found:
https://ndres.me/post/jupyter-notebook-rest-api/
How do you put an image file in a json object?
Call and consume Web API in winform using C#.net
https://learn.microsoft.com/en-us/previous-versions/dotnet/netframework-4.0/bb412179(v=vs.100)