Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon
Labs

Analyzing Faces with Azure Face Service

In this hands-on lab, you are working as an AI Engineer for Brand Specialists, an advertising firm, and you’ve been asked to analyze faces and get information back to determine if they like a product or not. You’ll use a pre-provided command-line application to utilize Azure Computer Vision to scan images with people in them and retrieve their facial attributes.

Azure icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 30m
Published
Clock icon Jan 18, 2024

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Review the Image to Be Analyzed, and Connect to the Virtual Machine

    Review the following image.

    Make some guesses about what attributes will come back about the couple.

    Use a remote desktop client application to connect to the public IP address of the Windows virtual machine shown on the lab page.

    If you are on Windows OS, see step 2 in the following article on how to use the Remote Desktop client. In place of the PC name, use the public IP address given in the lab page.

    If you are on Mac OS, you can download the Microsoft Remote Desktop client from the Apple Store.

  2. Challenge

    Run the Command-Line Application

    Using File Explorer, browse to C:\code\content-AI-900\, and double click on 2-azure_face.py to start the image analysis!

  3. Challenge

    Review the Results of the Facial Analysis

    Look at whom it picked up in the image and what attributes it recognized.

  4. Challenge

    Bonus! Try Your Own Images!

    As a bonus objective, right click on the 2-azure_face.py, and click Edit with IDLE. In the window that opens, look for the red comment Change the URL between the quotes below to run your own image, and change the URL to a picture you’d like to run through image analysis!

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans