I uses OpenVINO Python API with Flask api servers.
With Flask development server (which is kicked by `flask run` command) I got responses correctly from `ie_api.ExecutableNetwork.start_async()` and `ie_api.InferRequest.wait(-1)`. But with uWSGI server I got no response from the same codes. It stops on `InferRequest.wait(-1)` line. I would like to use uWSGI server on production environment. Is there a solution?
You can refer here to properly configure Openvino with server and host it later on.
1. Set up opencv in cloud: https://medium.com/@vahiwe/setting-up-openvino-in-the-cloud-b99599f157eb
you should able to run any OpenVINO™ project on this server now
2. Deploy Django and Flask Applications in the cloud using Nginx, Gunicorn and Supervisor (Ubuntu 18.04):
These are all required installation, configuration and build steps in this guide to use Gunicorn, Supervisor and Nginx in running your Django/Flask applications. You can start hostting your applications in the cloud after this step.
3. This is how you can Deploy Django and Flask Applications in the cloud using Nginx, Gunicorn and Supervisor (Ubuntu 18.04):
Hope my answer helps!.