Week 13 (29/11 - 3/12)

Further development and deployment on Azure

Development

The goals set out for this week were to deploy the OpenFace and front-end services to Azure and allow them to communicate with each other using a Function App. More on this here. Luckily, this was successful: both the front-end and OpenFace service can be accessed remotely!

Both services were deployed to Azure using the container instance service. Once they were both accessible online, I created a Function app triggered when something is uploaded to the BLOB storage. For now, only images can be uploaded. The OpenFace data will be added later. The flow is now:

  1. User uploads an image.

  2. The image is uploaded to the BLOB.

  3. The Function App is triggered and it makes a dummy call to the OpenFace service.

Aside from this, I also tested out Gunicorn instead of the built-in web servers included in Django and Flask. This will be more important later down the line, but is not a focus as of yet.

Spoilers for next week

Next week I want to expand this so that the OpenFace analysis itself is automatically triggered and the subsequent .csv file is automatically uploaded to the BLOB (again triggering the Function App and the next service in the chain).

Last updated

Was this helpful?