A static website served via an Azure Function Proxy which then streams your camera to the Face API capturing and returning your age and your emotion, while also showing some great capabilities in Azure Functions
Highlights being:
- App Setting KeyVault Syntax
- App Settings for proxy
- and using apps settings in proxy.json
- Cognitive Service AI Model running in ACI
- Consumer calls the function proxy which presents static html
- The static html allows the user to take a photo and calls the API
- The function app uses Managed Service Identity to call Key Vault
- Key vault used to stored the connection details for the Face API
- The Face API is called with the original image and obtains the emotion