Courseiva

Optical Character Recognition (OCR) in Azure: Reading Text from Images

A logistics company uses overhead cameras at a shipping dock to read labels on packages. The labels contain text in various fonts, sizes, and orientations, and sometimes the text is partially obscured. Which Azure Computer Vision capability should they use to extract the text from these labels?

Quick Answer

The correct choice is Optical Character Recognition (OCR) because it is purpose-built to extract printed or handwritten text from images, handling variations in fonts, sizes, orientations, and even partially obscured text. Azure Computer Vision’s OCR capability, specifically the Read API, uses deep-learning models to digitize text from natural scenes, making it ideal for reading package labels in a logistics environment. On the AI-900 exam, this scenario tests your understanding of when to use OCR versus other Computer Vision features like object detection or image analysis, which do not extract text. A common trap is confusing OCR with the Form Recognizer service, but remember that OCR is for raw text extraction from any image, while Form Recognizer is for structured data from forms. Memory tip: OCR = Optical Character Reader, and if you need to “read” text from a picture, think “OCR reads the letters.”

⚠ Common exam trap

Many candidates confuse object detection (which finds objects) with OCR (which reads text), or assume image classification can handle text extraction, when in fact OCR is the only Azure Computer Vision capability purpose-built for digitizing text from images.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Optical Character Recognition (OCR)

Optical Character Recognition (OCR) is the correct choice because it is specifically designed to extract printed or handwritten text from images, handling variations in fonts, sizes, orientations, and partial occlusion. Azure Computer Vision's OCR API (Read API) uses deep-learning models to detect and digitize text from natural scenes, making it ideal for reading labels on packages in a logistics environment.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Object detection

    Why it's wrong here

    Object detection identifies and locates objects (e.g., boxes, vehicles) within an image, but does not read text.

  • Optical Character Recognition (OCR)

    Why this is correct

    OCR extracts text from images and is ideal for reading labels with varying fonts, sizes, and orientations.

  • Image classification

    Why it's wrong here

    Image classification assigns a single label to an entire image (e.g., 'shipping dock'), but cannot read specific text content.

  • Semantic segmentation

    Why it's wrong here

    Semantic segmentation divides an image into pixel-level regions belonging to different classes (e.g., background, label), but does not extract text characters.

About these practice questions

Courseiva writes every AI-900 question from scratch — 985 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways this is tested on AI-900

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A parking management company uses cameras at the entrance and exit of a lot. They need to automatically read the license plate numbers of each car as it enters and exits. Which Azure Computer Vision capability is specifically designed for this task?

easy
  • A.Optical Character Recognition (OCR)
  • B.Object detection
  • C.Image classification
  • D.Facial recognition

Why A: Optical Character Recognition (OCR) is the Azure Computer Vision capability specifically designed to extract printed or handwritten text from images, including license plate numbers. In this scenario, the cameras capture images of cars entering and exiting, and OCR processes those images to read the alphanumeric characters on the license plates. This is the exact use case for OCR, as it can handle varied fonts, angles, and lighting conditions common in parking lot environments.

Variation 2. A parking lot management company uses security cameras to monitor vehicles. They need to both detect the presence of license plates in an image and read the alphanumeric characters on those plates. Which Azure Computer Vision capability should they use to achieve both requirements?

hard
  • A.Image Analysis (describe image and detect objects)
  • B.Optical Character Recognition (OCR) - Read API
  • C.Face API
  • D.Custom Vision (object detection)

Why B: (OCR - Read API) is correct because Azure's Read API is specifically designed to both detect the presence of text (including license plates) in an image and extract the alphanumeric characters from that text. This meets both requirements—detecting the plate and reading its characters—in a single call, using deep-learning-based recognition models optimized for printed and handwritten text.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AI-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-900 exam.