Your profile

One profile for every MSDEVBUILD site. Only you can see it, and the site owner if you write in.

Lesson 28 of 39
❮Prev Next❯

Content Understanding for Images and Video

Module 3: Computer Vision ⏱ 10 min read Updated

Your note

My notes for this lesson

Select any text in the lesson to highlight it or add a note. Saved in this browser.

    No highlights yet. Select a sentence in the lesson, then pick a colour or add a note.

    All my bookmarks and notes

    Reading settings

    For every lesson, saved in this browser.

    Text size
    Line spacing
    Font

    With IaaS you rent the virtual machine. Microsoft looks after the building, power and hardware; you patch the operating system.

    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 needed

    Exam 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.

    Azure portal: Content Understanding: a custom image analyzer and a segmented video analyzer Build a custom image analyzer and a segmented video analyzer.
    </> Embed

    Embed this simulation

    Free for trainers, teachers and bloggers. Paste this into your page:

    Loading the portal…

    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
    1. 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).
    2. 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.
    3. 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.
    4. 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.
    5. Run it on the training video. You get the whole video plus segments, each with its own fields, key frames and transcript.
    6. 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.

    😟 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
    🛠️ Solved with: Content Understanding in Foundry Tools

    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

    AnalyzerReturns
    prebuilt-imageSearchA description of the image, for search indexes
    prebuilt-videoSearchThe 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)
    MethodWhat it doesWorks for
    extractReads a value written in the contentDocuments only
    classifyPicks one value from your listImages, video, audio, documents
    generateWrites a value from understanding the contentImages, 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

    Insurance

    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.
    Ready for more?The full lesson adds the technical explanation, when to use it, interview questions and revision notes.

    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.

    Question 1

    Question 1 of 5

    A claims application must store the same fields, including a damage type chosen from four values, for every uploaded photo. Which solution meets the requirement?

    Question 2

    Question 2 of 5

    A developer defines a field in a custom image analyzer by using the extract method and receives a validation error. What should the developer use instead?

    Question 3

    Question 3 of 5

    A training department has a 12-minute video. A search application must jump to the section about forklift safety. Which configuration enables this?

    Question 4

    Question 4 of 5

    An analyst compares a standard Content Understanding analyzer with pro mode. Which statement correctly describes the difference?

    Question 5

    Question 5 of 5

    An application must identify where in a photograph the damaged area appears and show the location to a reviewer. The location does not need to be exact. Which approach is appropriate?

    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. 1.Which prebuilt analyzer gives a searchable description of an image?Show

      prebuilt-imageSearch.

    2. 2.Which methods can an image field use?Show

      Classify and generate.

    3. 3.What does segmentation add to a video analyzer?Show

      Per-segment fields, key frames and transcript.

    4. 4.What happens with segmentation off?Show

      The whole video is one segment.

    5. 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

    Studying with a friend? Send them this lesson

    It's free and needs no sign-up. Their progress saves in their own browser.

    Lesson done? Make it stick with a quick gameSort It, Match the Pairs, Lightning Round and Who Am I? Earn XP and badges. Play ❯

    Install MSDEVBUILD Azure

    Free · no account · works offline

    Save the whole course for offline ›

    Hi, I’m your Nimbus

    Your study buddy. Pick what we do next.

    MSDEVBUILD · Multi-Stack Dev Build

    Sign in to MSDEVBUILD

    One account for Azure certifications and the blog: sign in here and you are signed in on both. Your XP, streak, practice deck and certificate stay in sync on every device. Optional: everything works without an account.