This project demonstrates an inference using trained neural network via REST api in rust with actix-web and onnxruntime.
docker build -t onnx-server .docker run -p 8080:8080 -it --rm onnx-servercurl --location --request POST '0.0.0.0:8080/predict' \
--header 'Content-Type: application/json' \
--data-raw '{
"location": "/usr/local/src/my_shirt.png"
}'