Your profile

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

Lesson 14 of 30
❮Prev Next❯

Extracting Information from Text, Images, Audio and Video

Module 1: AI Concepts ⏱ 8 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

    Information extraction turns unstructured content into structured data you can store and search. Text uses entity recognition and PII detection, images and scans use OCR and document field extraction, audio uses transcription, and video uses segmentation into scenes with a transcript. Azure Content Understanding in Foundry Tools handles all four content types in one service, returning Markdown plus the fields you define, each with a confidence score.

    Simulate it » No Azure account needed

    Exam objective: 1.3.5 Identify techniques to extract information from text, images, audio, and videos. (Skills measured as of April 15, 2026)

    Simulations

    Feel it before you read it. No account needed, nothing leaves this page.

    Azure portal: Extract fields from an invoice Pick an analyzer and pull fields out of an invoice.
    </> Embed

    Embed this simulation

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

    Loading the portal…

    Open <strong>Content Understanding</strong>. An <strong>analyzer</strong> decides what to extract. Start with <strong>prebuilt-invoice</strong>.

    👆 Click the glowing item in the portal to continue

    Read the steps as text
    1. Open Content Understanding. An analyzer decides what to extract. Start with prebuilt-invoice.
    2. Upload the invoice. Each field comes back with a confidence score. Route anything under your threshold (say 0.80) to a person.
    3. Need more fields? Build a custom analyzer: extract copies values from the page, classify picks a category, generate writes a value such as a summary.
    4. The same analysis in Python with begin_analyze.

    🧪 Simulation for learning. Screens are simplified versions of the Azure portal; names, prices and IDs are examples. Nothing here touches real Azure.

    😟 THE PROBLEM

    Accounts staff type 300 invoices a day into the ERP.

    😊 THE SOLUTION

    Extract the fields automatically and review only the unsure ones.

    • Manual data entry✓ Fields extracted automatically
    • Not sure what to trust✓ Confidence scores
    • Information locked in videos✓ Transcripts and chapters
    🛠️ Solved with: Content Understanding

    Start with a question

    How does an accounts team process 2,000 supplier invoices a month without typing every one?

    Every invoice looks different. One supplier puts the total at the top, another at the bottom, a third sends a blurry phone photo. Somebody has to find the invoice number, the date and the amount and type them into the accounts system.

    That’s the work information extraction does. AI reads the content, finds the facts you asked for and hands them back as tidy fields. The same idea works for chat messages, recorded calls and training videos.

    Explain it like I’m 10

    The technical explanation

    The technique changes with the content type, but the goal is always the same: unstructured in, structured out.

    ContentTechniqueWhat comes backExample
    TextNamed entity recognition (NER)People, places, organisations, dates, amounts“Ravi”, “Pune”, “12 March” in an email
    TextPII detectionPersonal data to maskPhone number replaced with **********
    Images and scansOCRLines and words of textText from a photographed receipt
    Documents and formsField extractionNamed fields with valuesInvoiceNumber, InvoiceDate, InvoiceTotal
    AudioTranscription (speech to text)Transcript, speaker labels, summaryWho said what in a support call
    VideoSegmentationScenes, key frames, transcript, descriptionsChapters of a training video

    Content Understanding: one service for all four

    Azure Content Understanding in Foundry Tools uses generative AI to do all of the above in one place. You send a document, image, audio file or video to an analyzer and get back Markdown of the content plus the fields you defined, in JSON.

    1. 1 Content in

      A PDF, photo, call recording or video file (or URL).

    2. 2 Analyzer

      Prebuilt, like prebuilt-invoice, or your own custom one.

    3. 3 Extract

      Text, layout, transcript or video segments.

    4. 4 Fields

      Your schema filled in, each value with a confidence score.

    How a Content Understanding request works

    A few terms the exam likes:

    • Prebuilt analyzers: prebuilt-invoice, prebuilt-receipt, ID documents and tax forms for documents; prebuilt-imageSearch for images; prebuilt-audioSearch for a transcript, summary and speaker labels; prebuilt-videoSearch for segments, key frames and descriptions.
    • Custom analyzers start from a base analyzer (prebuilt-document, prebuilt-image, prebuilt-audio, prebuilt-video) and add your own field schema.
    • Field methods: extract copies a value that’s literally there (documents only), classify picks from a list you give it, and generate writes a value, like a one-line summary.
    • Confidence scores run from 0 to 1, and fields come with grounding back to where the value was found, so a person can check it.
    Architect level Where Document Intelligence and Video Indexer fit

    Before Content Understanding, teams used Azure Document Intelligence for forms and invoices and Azure Video Indexer for video insights. Both still exist, and you’ll see them in older solutions. Content Understanding brings documents, images, audio and video under one API with generative field extraction, and it needs default model deployments configured on the Foundry resource because it calls generative models behind the scenes.

    Real-world business scenario

    Logistics

    Contoso Logistics (fictional)

    The problem
    Drivers sent proof-of-delivery photos, customers emailed scanned invoices and the call centre recorded disputes. Three teams typed details into three systems.
    What they used
    Content Understanding analyzers: prebuilt-invoice for invoices, a custom image analyzer for delivery photos and prebuilt-audioSearch for dispute calls.
    Why that choice
    One service and one output format (Markdown plus JSON fields) for every content type, with confidence scores to decide what needs review.
    The result
    Most invoices post automatically, and staff only check fields that come back below the confidence threshold.

    When to use it and when not to

    ✓ Use it when…

    • You get the same kind of content again and again (invoices, claims, calls) and need the same fields from each.
    • You need facts out of several content types and want one output format.
    • You want each value to come with a confidence score and a pointer to its source.

    ✕ Think twice when…

    • You only need a short summary for a person to read. A chat model prompt may be enough.
    • The content is already structured, like a CSV export. Read it directly.
    • Nobody will check low-confidence values on high-stakes data, such as medical or legal records.

    ↔ Alternatives to consider

    • Azure Language in Foundry Tools for text-only NER, PII detection and key phrases.
    • Azure Vision in Foundry Tools for OCR and image tags without a field schema.
    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-901 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 company must process supplier invoices, delivery photos, recorded support calls and training videos, and return structured fields from each by using a single service. Which service should the company use?

    Question 2

    Question 2 of 5

    You need to identify people, organizations, locations and dates mentioned in customer emails. Which text analysis technique should you use?

    Question 3

    Question 3 of 5 · Select 2

    Which TWO outputs are typical when extracting information from a recorded video?

    Question 4

    Question 4 of 5

    An insurer extracts the claim amount from scanned forms. Values that the service is unsure about must be routed to a human reviewer.

    Which value returned with each extracted field should the insurer use to decide whether to route the field for review?

    Question 5

    Question 5 of 5

    A chat support team must find phone numbers and email addresses in conversation logs so that they can be masked before the logs are stored. Which technique should the team use?

    Interview preparation

    Say your answer out loud first, then open the model answer. Interviewers care more about your reasoning than the exact words.

    Beginner What does information extraction mean?

    Model answer

    It's taking messy content, like a scanned invoice or a recorded phone call, and pulling out the exact facts I need, like the invoice total or the customer's complaint, in a structured form a program can use.

    Interviewer follows up

    How is that different from summarising?

    You

    A summary is a shorter version for a person to read. Extraction gives named fields, like InvoiceTotal equals 4,500, that a database or workflow can use straight away.

    Intermediate What's an analyzer in Content Understanding?

    Model answer

    It's the recipe. It says which kind of content goes in, what to extract, the field schema I want back, and which model deployments to use. Microsoft provides prebuilt analyzers like prebuilt-invoice and prebuilt-audioSearch, and I can build a custom one on top of a base analyzer like prebuilt-document.

    Experienced developer How would you decide when an extracted value needs human review?

    Model answer

    Content Understanding returns a confidence score from 0 to 1 for each field, plus grounding back to where it found the value. I'd set a threshold per field, say auto-approve totals above 0.9, and send anything lower to a reviewer who can see the highlighted source.

    Scenario A call centre wants a summary, the speakers and the customer's account number from every recorded call. What would you use?

    Model answer

    Content Understanding with the prebuilt-audioSearch analyzer gives a transcript with speaker labels and a summary. I'd add a custom field for the account number, generated from the transcript, and check its confidence before writing it to the CRM.

    Quick revision

    Key points

    • Text extraction uses named entity recognition, PII detection and key phrases.
    • Images and scans use OCR plus document field extraction (invoices, receipts, IDs).
    • Audio uses speech to text, often with speaker labels (diarization) and a summary.
    • Video is split into segments with key frames, a transcript and descriptions.
    • Content Understanding covers documents, images, audio and video, with analyzers, field schemas and confidence scores.

    Important terminology

    Information extraction
    Pulling specific, structured facts (names, dates, totals, topics) out of unstructured content such as text, scans, recordings and video.
    Named entity recognition (NER)
    Finding and labelling people, places, organisations, dates and other entities in text.
    PII detection
    Finding personal data such as phone numbers, email addresses and ID numbers in text so it can be masked.
    Azure Content Understanding in Foundry Tools
    A Foundry Tool that uses generative AI to turn documents, images, audio and video into structured output you define.
    Analyzer
    A Content Understanding configuration that says what to extract, which fields to return and which model deployments to use.
    Prebuilt analyzer
    A ready-made analyzer from Microsoft, such as prebuilt-invoice or prebuilt-videoSearch.
    Confidence score
    A number from 0 to 1 that says how sure the service is about an extracted value.

    Common mistakes

    • Thinking OCR alone gives you an invoice total. OCR gives text; field extraction maps it to named fields.
    • Assuming every extracted value is correct. Check the confidence score.

    Exam tips

    • "One service for documents, images, audio and video into structured fields" = Azure Content Understanding.
    • "Find phone numbers and emails in chat logs to redact them" = PII detection.
    • "A number between 0 and 1 showing how sure the service is" = confidence score.

    Five quick revision questions

    1. 1.Which text technique finds people, places and organisations?Show

      Named entity recognition (NER).

    2. 2.What does a Content Understanding analyzer define?Show

      What to extract, the field schema and the model deployments to use.

    3. 3.Name a prebuilt analyzer for invoices.Show

      prebuilt-invoice.

    4. 4.What does video extraction usually return?Show

      Segments, key frames, a transcript and descriptions.

    5. 5.What range does a confidence score use?Show

      0 to 1.

    Official references

    Finished this lesson? Tick it off. Your progress is saved in this browser.

    Next up: What is Microsoft Foundry?

    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.