A simple API running on Azure Functions
This API accepts an image containing faces, stores it on Azure Blob Storage and submits the image to Azure Cognitive Services.
You'll need Visual Studio 2017 Preview (or later) and the latest Azure Functions tooling installed to run this project.
There is an accompanying blog post for this repo that contains more details on how to get this running
You'll need to create a file in FunctionsFaceDemo
named local.settings.json
with the following content
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "YourStorageConnectionString",
"AzureWebJobsDashboard": "YourStorageConnectionString",
"CognitiveServicesHost": "YourCognitiveServicesHost",
"CognitiveServicesApiKey": "YourCognitiveServicesKey"
}
}
- Create a functions app in the Azure Portal
- You'll need to add the settings in
local.settings.json
to the application settings in the Azure portal - Right click the project in Visual Studio and select Publish
- Follow the instructions