Content Understanding for Images and Video
30-second answer
Azure Content Understanding in Foundry Tools runs an analyzer on an image or video and returns the same structured fields every time. Start with a prebuilt analyzer such as prebuilt-imageSearch or prebuilt-videoSearch, or build a custom analyzer with classify and generate fields. For video, turn on segmentation to get scenes with their own fields, key frames and transcript. Pro mode adds reasoning across inputs and reference data.
Simulate it » No Azure account neededExam objective: 3.2.5 Implement visual understanding by configuring Azure Content Understanding in Foundry Tools. 3.2.6 Implement video analysis workflows to process and interpret video segments. 3.2.7 Configure single-task and pro-mode Content Understanding pipelines. 3.2.8 Implement solutions that identify objects, components or regions within images or video. (Skills measured as of April 16, 2026)
Simulations
Feel it before you read it. No account needed, nothing leaves this page.
Open <strong>Discover → Foundry Tools</strong> and choose <strong>Content Understanding</strong>. It needs a Foundry resource with default model deployments (a chat model, plus an embedding model for some features).
👆 Click the glowing item in the portal to continue
Read the steps as text
- Open Discover → Foundry Tools and choose Content Understanding. It needs a Foundry resource with default model deployments (a chat model, plus an embedding model for some features).
- Define a custom analyzer from prebuilt-image. A classify field picks from your list and a generate field writes text. The extract method is for documents, not photos.
- Run it on a photo. You get typed fields with confidence scores, the same shape every time, which a model reply in free text can't promise.
- For video, base the analyzer on prebuilt-video and turn on segmentation with a short description of how to split it. Without it, the whole video is one segment.
- Run it on the training video. You get the whole video plus segments, each with its own fields, key frames and transcript.
- In code, begin_analyze starts the long-running operation. Locating objects or regions is done with generate fields that ask for them, or with a model prompt that returns boxes, which a person should confirm.
🧪 Simulation for learning. Screens are simplified versions of the Azure portal; names, prices and IDs are examples. Nothing here touches real Azure.
🖱️ Drag to rotate · scroll or pinch to zoom
Content Understanding turns media into fields
Azure Content Understanding in Foundry Tools runs an analyzer on an image or video and returns the same structured record every time. Start from prebuilt-imageSearch or prebuilt-videoSearch, or create a custom analyzer with fields that classify or generate. For video, segmentation splits the file into scenes with their own fields, key frames and transcript.
🤔 What happens if…
Read this tour as text
- Generate and edit an image. A gpt-image deployment turns a prompt into pixels. Choose a size (1024x1024, 1024x1536 or 1536x1024), a quality (low, medium, high) and a format (PNG or JPEG). To change only part of a picture, send the image plus a mask: a PNG of the same size where the transparent area is what the model may repaint.
- Generate and remix a video. Sora 2 makes video as an asynchronous job: create, poll until it's done, then download. Pick 720x1280 or 1280x720 and 4, 8 or 12 seconds. An input reference image must match the video size, and faces in it are rejected. Remix changes a finished video with a short prompt, ideally one change at a time.
- Ask a model about a picture. A multimodal chat model such as gpt-4.1-mini reads images you send with the prompt. The prompt decides the result: a concise caption, a detailed one, alt text for accessibility, or an answer to a question that points to what is visible. Up to 10 images can go in one request, and detail (low, high, auto) trades cost for small text.
- Content Understanding turns media into fields. Azure Content Understanding in Foundry Tools runs an analyzer on an image or video and returns the same structured record every time. Start from prebuilt-imageSearch or prebuilt-videoSearch, or create a custom analyzer with fields that classify or generate. For video, segmentation splits the file into scenes with their own fields, key frames and transcript.
- Keep visual content safe. Images and video need gates too. A guardrail with image controls classifies hate, sexual, violence and self-harm content, and a custom analyzer can enforce your own visual policy (a competitor's logo, a missing watermark). Text inside a picture can be an indirect prompt injection: read it as data, scan it with Prompt Shields, and never let it grant a tool or an approval.
Fabrikam Insurance wants the same fields from every claim photo, and its safety team wants a training video split into topics. Run a prebuilt analyzer, build a custom image analyzer, then compare a video analyzer with and without segmentation.
🎓 Education-only simulation. Your lab is saved in this browser, so you can leave and continue later.
😟 THE PROBLEM
Free-text answers about photos and videos can't go straight into the claims or training database.
😊 THE SOLUTION
Run an analyzer so every photo or video segment returns the same typed fields.
- Every reply has a different shape✓ A custom analyzer with a field schema
- A 12-minute video is one blob✓ Segmentation into scenes with key frames
- Where in the picture is it?✓ Generate fields or model-returned regions
Start with a question
An insurance clerk has 2,000 claim photos and a spreadsheet with a column called 'Damage type'. Can the photos fill that column on their own?
A chat model can describe each photo, but one reply says “a dent near the door” and the next says “the vehicle shows damage”. A spreadsheet needs “dent” every time.
Content Understanding fixes that. You define the fields once, such as DamageType with four allowed values, and every photo comes back as the same record.
Explain it like I’m 10
The technical explanation
Content Understanding is a Foundry Tool. You call an analyzer with a file and get fields back, with confidence scores. It uses model deployments on your resource, so the resource needs default deployments such as a chat model before analyzers run. The API version used in this lesson is 2025-11-01 (checked 25 November 2026).
Prebuilt analyzers
| Analyzer | Returns |
|---|---|
prebuilt-imageSearch | A description of the image, for search indexes |
prebuilt-videoSearch | The video split into segments with descriptions, key frames and transcript |
Custom analyzers: single-task
A custom analyzer starts from a base (prebuilt-image or prebuilt-video) and adds a field schema.
from azure.ai.contentunderstanding import ContentUnderstandingClient
from azure.identity import DefaultAzureCredential
client = ContentUnderstandingClient(endpoint=endpoint, credential=DefaultAzureCredential())
# A field schema, in the analyzer definition
fields = {
"DamageType": {"type": "string", "method": "classify",
"enum": ["dent", "scratch", "broken glass", "none"]},
"Notes": {"type": "string", "method": "generate",
"description": "One sentence on what is damaged and where."},
}
poller = client.begin_analyze(analyzer_id="damage-photo", inputs=[AnalyzeInput(url=photo_url)])
print(poller.result().contents[0].fields)
| Method | What it does | Works for |
|---|---|---|
extract | Reads a value written in the content | Documents only |
classify | Picks one value from your list | Images, video, audio, documents |
generate | Writes a value from understanding the content | Images, video, audio, documents |
Video: segmentation
A video analyzer can treat the file as one segment or split it. With segmentation on you describe the scenes, for example “one segment per training topic”. You get the whole video plus each segment with its own fields, key frames and WEBVTT transcript. Your search app can then jump straight to 03:10 instead of replaying 12 minutes.
Pro mode
Standard analyzers apply one analysis task to the input. Pro mode adds multi-step reasoning that can use several inputs and reference data, which suits checks such as validating a submission against a policy. Support depends on the content type and changes over time, so read the current Learn page before you rely on it.
Finding objects and regions
For “where is it?” you have two options. A generate field can describe objects and, for video, when they appear. Or ask a multimodal model for labels and boxes. Either way, confidence is limited, so show the result to a reviewer when the decision matters.
Architect level Why does a video with segmentation off still return something?
Without segmentation the analyzer treats the whole file as one content item. You still get the fields you defined, plus a transcript, for the full video. That’s the right choice for whole-video questions, such as “does this clip show a brand logo anywhere?”, where you don’t need chapters.
Real-world business scenario
Fabrikam Insurance
- The problem
- Claim photos were read by hand, and a 12-minute safety video was impossible to search.
- What they used
- Content Understanding in Foundry Tools. A damage-photo analyzer classifies DamageType and generates Notes, and a training-chapters analyzer segments the video by topic.
- Why that choice
- Every photo returns the same fields with confidence scores, and each video segment carries its own transcript and key frames for search.
- The result
- Clear claims went straight into the claims system, low-confidence ones went to adjusters, and staff found the forklift section in seconds.
When to use it and when not to
✓ Use it when…
- A workflow or database needs the same fields from every photo or video.
- You want chapters, key frames and a transcript from long videos.
- You want a visual policy check that returns classifications you can enforce.
✕ Think twice when…
- A person just wants a one-off description. A chat model is simpler.
- You need a value read from a printed form. Use a document analyzer with extract.
- You need pixel-exact regions.
↔ Alternatives to consider
- A multimodal chat model for flexible questions.
- Azure AI Search to index the fields that analyzers return.
Test yourself with exercises
5 original practice questions in the AI-103 style. Pick your answers, then check them. You will see why each option is right or wrong. Score 75% or more and this topic is marked complete.
Interview preparation
Say your answer out loud first, then open the model answer. Interviewers care more about your reasoning than the exact words.
Beginner Why use Content Understanding instead of asking a chat model to describe a photo?
Model answer
A chat model's reply can have a different shape each time. An analyzer returns the same named fields with confidence scores, so a database or workflow can use them directly.
Intermediate Which field methods work for images and video?
Model answer
Generate and classify. Extract reads values that are written in a document, so it's for document analyzers. Classify picks one value from a list I give it.
Experienced developer A 12-minute training video must be searchable by topic. How do you set that up?
Model answer
I'd use a video analyzer with segmentation on and a short description of how to split it. Each segment returns its own fields, key frames and transcript lines, which I index in Azure AI Search with the time range.
Scenario When would you look at pro mode?
Model answer
When the job needs reasoning across several inputs or checking against reference data, not just reading one file. I'd confirm on Microsoft Learn which content types support it first, because availability changes.
Quick revision
Key points
- Prebuilt analyzers include prebuilt-imageSearch and prebuilt-videoSearch.
- A custom analyzer derives from a base such as prebuilt-image or prebuilt-video and defines a field schema.
- Image and video fields use classify or generate. Extract is for documents.
- Video segmentation returns per-segment fields, key frames and transcript. Off means one segment.
- The resource needs default model deployments, for example a chat model.
Important terminology
- Analyzer
- A Content Understanding definition that says how to process a kind of content and which fields to return.
- Field schema
- The list of fields an analyzer returns, each with a name, a type and a method (extract, classify or generate).
- Segmentation
- Splitting a video into scenes or chapters based on categories you describe, with results for each segment.
- Key frames
- Representative frames the service picks from a video segment for analysis and search.
- Pro mode
- A Content Understanding mode that applies multi-step reasoning, can use several inputs and reference data, and suits validation-style tasks.
Common mistakes
- Using the extract method on an image analyzer.
- Expecting chapters from a video analyzer with segmentation off.
- Trusting low-confidence fields without review.
Exam tips
- "Same fields for every photo" = custom analyzer with a field schema.
- "Jump to a section of a video" = segmentation.
- "Reason over several inputs and reference data" = pro mode.
Five quick revision questions
-
1.Which prebuilt analyzer gives a searchable description of an image?Show
prebuilt-imageSearch.
-
2.Which methods can an image field use?Show
Classify and generate.
-
3.What does segmentation add to a video analyzer?Show
Per-segment fields, key frames and transcript.
-
4.What happens with segmentation off?Show
The whole video is one segment.
-
5.What does the resource need before analyzers work?Show
Default model deployments.
Official references
Finished this lesson? Tick it off. Your progress is saved in this browser.
Next up: Responsible AI for Images and Video
Lesson done? Make it stick with a quick gameSort It, Match the Pairs, Lightning Round and Who Am I? Earn XP and badges.