Analyze faces with Azure Functions and Cognitive Services


Azure Functions lets you execute your code in a serverless environment without having to first create a VM or publish a web application.

In this tutorial, you’ll learn how to use Azure Functions to call into Azure Cognitive Services for image analysis, then report back on the results.

Time to Complete

10-15 minutes.


Free with the free Azure tier (You get 1 million Azure function requests and 30k facial analysis transactions for free).


A simple Azure function that uploads an image to Azure Cognitive services and reports back on sentiment analysis for a face in the image.

Let's get started!