Image Analysis with Azure Computer Vision

30 minutes
  • 4 Learning Objectives

About this Hands-on Lab

In this hands-on lab, you are working as an AI Engineer for Marketing Man, a marketing company, and you’ve been asked to analyze images and get information back for marketing purposes.

You’ll use a pre-provided command-line application to utilize Azure Computer Vision to scan images and get back an image description, image tags, and detect faces in the picture.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

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

View the image provided for the lab (https://raw.githubusercontent.com/ACloudGuru/content-AI-900/main/images/image-analysis/1-computervision-couple.jpg).

Make some guesses about what description will come back and what tags the Computer Vision service will provide.

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 need help, visit this article on how to use the remote desktop client.

Run the Command-Line Application

Using File Explorer, browse to C:codecontent-AI-900 and double-click on 1-computer_vision.py to start the image analysis!

Review the Results of the Image Analysis

Look at the description, tags, and facial detection features.

Bonus: Try Your Own Images!

As a bonus objective, right-click on 1-computervision.py and click Edit with IDLE. In the window that opens, look for the red comment that says, “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!

You can use the following link to the second image (https://raw.githubusercontent.com/ACloudGuru/content-AI-900/main/images/image-analysis/1-computervision-kids.jpg) I use in the solution video.

Additional Resources

In this hands-on lab, you work as an AI Engineer for Marketing Man, a marketing company, and you’ve been asked to analyze images and get information back for marketing purposes.

Use the pre-provided command-line application to utilize Azure Computer Vision to scan images and get back an image description, image tags, and detect faces in the picture.


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 need help, visit this article on how to use the remote desktop client.

What are Hands-on Labs

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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?