Recognize Your Customers with Face Recognition, Cloud AI, and Dynamics 365

Artificial Intelligence has been influencing how we live for some time. And now more than ever, the tech giants have been competing to win businesses and developers with their AI services. Microsoft is one of these, and through it’s Azure cloud it has been democratizing the power of various AI capabilities for businesses and developers to take advantage of. In previous posts I have blogged about using voice recognition technology … Continue reading Recognize Your Customers with Face Recognition, Cloud AI, and Dynamics 365

Developing with Azure Cognitive Services Face API using C#

In this series, I will show how to use Microsoft’s Azure Cognitive Services Face API using C#. Signing up for a Microsoft Cognitive Services Subscription Key (Face) – Part 0 Building an Azure Cognitive Services Face App – Part 1 Face Recognition Building An Azure Cognitive Services Face App – Part 2 Attribute/Emotion Detection Building An Azure Cognitive Services Face App – Part 3 – People, Groups and Persisted Faces … Continue reading Developing with Azure Cognitive Services Face API using C#

Building An Azure Cognitive Services Face App – Part 4 – Verifying Faces and People

In our previous posts we did the following: Face Recognition Attribute/Emotion Detection People, Groups and Persisted Faces In this post we will look at verifying faces to people. Let’s do a few things first. We will add a new Image control to the form next to our original Image1 control. We will call this Image 2. We will move our TextBlock1 to the right. We will also add 2 buttons: … Continue reading Building An Azure Cognitive Services Face App – Part 4 – Verifying Faces and People

Building An Azure Cognitive Services Face App – Part 3 – People, Groups and Persisted Faces

Building on our previous posts, in this post we will show how people and groups functionality works, and how to persist faces to Microsoft Azure. In our WPF application, add a new button called Create Person: On pressing this button, we will do the following: We will create a new Person Group, called “My People Group”, using PersonGroup.CreateAsync. We will also set the GUID of this group We will create … Continue reading Building An Azure Cognitive Services Face App – Part 3 – People, Groups and Persisted Faces

Building An Azure Cognitive Services Face App – Part 2 Attribute/Emotion Detection

In our previous post, we created an app that recognizes faces in a given image. In this post, we will extend the app to detect face attributes such as the emotions of the person, their hair, makeup etc in the photo. The attributes returned from the service include: Age Blur Emotion Facial Hair Gender Glasses Hair Head Pose Makeup Noise Occlusion Smile Add a TextBlock: Add the face attributes to … Continue reading Building An Azure Cognitive Services Face App – Part 2 Attribute/Emotion Detection

Building an Azure Cognitive Services Face App – Part 1 Face Recognition

In this post we will go through an example of using Azure’s Cognitive Services Face Recognition functionality. This app will be built in C# and will take a given photo/image and upload it to Azure Cognitive Services, then determine what are faces within the image using DetectWithStreamAsync, and finally draw a rectangle around those faces. Let’s build the app. First you will need to sign up for an Azure Cognitive Services … Continue reading Building an Azure Cognitive Services Face App – Part 1 Face Recognition

Signing up for a Microsoft Cognitive Services Subscription Key (Face)

To sign up for a Microsoft Azure Cognitive Services API Key for the Face API, go to https://azure.microsoft.com/en-us/services/cognitive-services/face/ and click Try Face: Click to sign in: Enter a name and click Create: Open the resource: Click Grab your keys and copy your keys for later use: Note the endpoint for the keys. My endpoint is: https://northeurope.api.cognitive.microsoft.com/face/v1.0 You can now start building Azure Cognitive Services applications.

Bing Custom Search Hello World in C#

In this post, I will go through how to use Microsoft Azure Cognitive Services to create a Custom Bing Search app in Visual Studio. The first thing you will need is to create a custom search instance and get API keys. Once you have done that, create a new console app in Visual Studio: You will see: Add NewtonSoft.Json through NuGet: Add the code. This is built on the example … Continue reading Bing Custom Search Hello World in C#

Creating a Bing Custom Search Instance with Keys for Bing API

In this post, we will create a new Bing Custom Search Instance that we can use to access the Bing Custom Search API. This will enable us to access the Bing Search API from apps we build, thereby opening our apps to the power of Bing Search. First, go to https://www.customsearch.ai/ and sign in: You will see the steps below. Click Create new instance: Name the instance and click OK: You … Continue reading Creating a Bing Custom Search Instance with Keys for Bing API

Getting a Bing Custom Search API Key in Azure Portal

In this post we will go through signing up for a Bing Custom Search key using the Azure portal. Go to https://portal.azure.com and search for Bing Custom Search: Click Create: Enter details including the name and pricing tier. Click Create: You will see below, with the endpoint, e.g. https://api.cognitive.microsoft.com/bingcustomsearch/v7.0 Click on Keys and note the keys for use in your apps: