Lesson 10 of 26 · see all lessons
Start here: the exam, Python basics and responsible AI (skill area 1, 40-45%)
AI models: how they work, choosing and deploying (skill area 1)
AI workloads: text, speech, vision and extraction (skill area 1)
Generative AI apps and agents in Foundry (skill area 2, 55-60%)
Text, speech, vision and extraction apps in Foundry (skill area 2)
- 17. Building a text analysis app
- 18. Building speech apps: spoken prompts and Azure Speech
- 19. Building vision apps: images in prompts and generated images
- 20. Extracting information with Content Understanding: documents and forms
- 21. Content Understanding for images, audio and video, and a small extraction app
Final review and four mock exams
18 min
Computer vision and image generation
Learn what vision models can see in an image and how image-generation models create new pictures.
By the end of this lesson you can
- Tell image classification, object detection, segmentation, captioning and OCR apart
- Explain why facial recognition is Limited Access while face detection is not
- Choose between Azure Vision and a multimodal model for an image task
- Describe what image-generation models do: create, edit and vary images
From earlier lessons · 1 of 2
A museum audio guide reads a painter's name wrong and speaks too fast. What should the developer use to fix both?
Pick one answer.
From earlier lessons · 2 of 2
A recorded sales call must show which lines the salesperson said and which the customer said. Which Azure Speech feature does this?
Pick one answer.
Fernhill Travel's guides upload 2,000 photos a month: boats, beaches, menus, street signs, smiling groups. Marketing wants them searchable by what's in them. The brochure team wants a cover image of a sunset kayak tour that nobody photographed. One job reads images. The other creates them.
Five things vision models can do with one photo
Exam depth: know it cold.
Computer vision is AI that analyzes images and video. Each task answers a different question.
| Task | Question it answers | Output |
|---|---|---|
| Image classification | What is this image of? | One label for the whole image. |
| Object detection | What is where? | Labels, each with a bounding box. |
| Semantic segmentation | Exactly which pixels? | A label for every pixel. |
| Captioning and tagging | How would you describe it? | A sentence, or a list of tags. |
| OCR | What text is in it? | The words and where they sit. |
A bounding box is a rectangle, given as coordinates, drawn around a found object. Segmentation is finer: it outlines the object's exact shape.
Deciding words: "what kind" picks classification; "where" or "count" picks detection; "exact outline" picks segmentation; "read" picks OCR.
A harbor authority needs to count the boats in each drone photo and know where each one is. Which computer vision task fits?
Pick one answer.
Face detection vs facial recognition
Exam depth: know it cold.
- Face detection finds faces in an image and returns a box for each. It doesn't know who anyone is. Blurring faces for privacy only needs detection.
- Facial recognition decides who a face belongs to. Verification checks one face against one trusted photo ("is this Ana?"). Identification searches a group of known people.
The Azure Face service does both. Its recognition features are Limited Access: only Microsoft-managed customers and partners who apply and are approved can use them.
Microsoft also retired face attributes that guess emotion and gender. It limited others such as age, because misuse can lead to stereotyping and unfair treatment. This is the responsible AI principles from lesson 3 in action.
For each statement, select Yes if it is true. Statement: A new Azure customer can use Azure Face to identify people in photos as soon as they create the resource, with no application.
Pick one answer.
Azure Vision or a multimodal model?
Exam depth: know it cold.
Azure Vision is the Foundry Tool for image analysis. Image Analysis 4.0 returns captions, dense captions (one per region), tags, detected objects, detected people, smart-crop areas and read text.
A multimodal model is a model that accepts images as well as text, such as some GPT models. It answers questions about a picture in plain language: "Is the hotel pool open in this photo?" Lesson 19 builds this.
| Need | Pick |
|---|---|
| Standard tags, boxes, OCR in a fixed format. | Azure Vision |
| Free-form questions or reasoning about an image. | Multimodal model |
| Identify or verify people. | Azure Face (Limited Access) |
Changed recently: Microsoft will retire the Image Analysis API on September 25, 2028. For new work it suggests Document Intelligence for OCR, the Face API for faces, and GPT models or Azure Content Understanding for other image analysis. The Vision tasks above are still on the exam.
A travel app lets users upload a photo and ask, in their own words, "Would this beach suit small children?". Which option fits best?
Pick one answer.
How vision models learn to see
Exam depth: recognize it.
- A convolutional neural network (CNN) runs filters over an image to pull out features, such as edges and shapes. It then predicts a label. CNNs drove image classification and object detection for years.
- A vision transformer (ViT) cuts an image into patches and uses attention, the same technique language models use, to learn how patches relate.
- A multimodal model joins a language encoder and a vision encoder, trained on images with captions. That's how it can describe a photo it has never seen.
Image generation: create, edit and vary
Exam depth: know it cold.
An image-generation model creates new images. It can do three jobs.
- Text to image: describe a picture in a prompt and get a new image.
- Editing, including inpainting: change part of an existing image. You supply a mask, an image whose transparent pixels mark the area to change, plus a prompt such as "add a sunset sky".
- Variations: new versions of an existing image.
In the Foundry catalog these include the gpt-image series (for example gpt-image-1 and gpt-image-2) and Black Forest Labs FLUX models. DALL-E 3 retired on March 4, 2026; older material still names it.
Image generation APIs apply a content filter. If a prompt is judged harmful, no image is generated.
The brochure team has a good beach photo but wants only the grey sky replaced with a sunset, keeping everything else. What should they use?
Pick one answer.
Decision table: scenario to task to tool
Match
Match each Fernhill Travel scenario to the task and tool that fit
Pick an item on the left, then its match on the right.
Exam-style practice
A farm robot must spray only the exact leaf area of each weed, not a rectangle around it. Which computer vision task fits?
Pick one answer.
A recycling plant sorts photos of single items into "glass", "metal" or "paper". Each photo shows one item. Which task fits?
Pick one answer.
A user asks an image-generation deployment for a violent, harmful scene. What happens by default?
Pick one answer.
FlashcardsIndex cardsFlashcards ⚡
Card 1 of 18Worth keeping
- Label the image: classification. Box objects: detection. Exact pixels: segmentation. Read text: OCR.
- Face detection finds faces; facial recognition names them and is Limited Access.
- Azure Vision gives fixed-format results; a multimodal model answers free-form questions.
- Image-generation models create from text, edit with a mask, and make variations.
- Generated images pass a content filter; harmful prompts get no image.
Reading the words on a booking form is OCR. Knowing which words are the customer's name and travel date is something else. Next lesson: information extraction from documents, images, audio and video.
Leaderboard
Loading…
50 XP for each lesson you finish, 10 for each right answer. Names show only for learners who turn on Show me on leaderboards.
Embed this practice on your site
Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.
Report a copyright problem with this lesson
Sources for this lesson (12)
Each fact in the lesson is marked with the number of the page it comes from.
- [2]Microsoft Learn: Study guide for Exam AI-901: Microsoft Azure AI Fundamentals
- [34]Microsoft Learn: Foundry Models sold by Azure
- [53]Microsoft Learn: Computer vision (training unit)
- [59]Microsoft Learn: What is Azure Vision in Foundry Tools?
- [74]Microsoft Learn: Speech to text overview
- [76]Microsoft Learn: Speech Synthesis Markup Language (SSML) overview
- [83]Microsoft Learn: What is Image Analysis?
- [84]Microsoft Learn: Migrate from Azure Vision in Foundry Tools - Image Analysis
- [85]Microsoft Learn: What is the Azure Face service?
- [86]Microsoft Learn: How to use image generation models from OpenAI
- [87]Microsoft Learn: Convolutional neural networks (training unit)
- [88]Microsoft Learn: Vision transformers and multimodal models (training unit)