3.2 Azure AI Vision Service

Key Takeaways

  • Azure AI Vision (formerly Computer Vision) is the primary Azure service for image and video analysis — it provides pre-built models for common vision tasks.
  • The Image Analysis 4.0 API supports image captioning, tagging, object detection, smart cropping, people detection, and background removal.
  • Azure AI Vision OCR (Read API) extracts printed and handwritten text from images and documents with high accuracy.
  • Spatial Analysis uses video streams to detect people and track their movements in physical spaces (retail analytics, occupancy monitoring).
  • You access Azure AI Vision through the REST API or SDKs — no custom model training is needed for pre-built capabilities.
Last updated: June 2026

Quick Answer: Azure AI Vision is the primary Azure service for image and video analysis. It provides pre-built models for image captioning, tagging, object detection, OCR, spatial analysis, and more. No custom model training is needed — you send an image to the API and receive analysis results.

What Is Azure AI Vision?

Azure AI Vision (formerly known as Azure Computer Vision) is a cloud-based service that provides pre-built computer vision capabilities. You send images or video to the service, and it returns structured analysis results.

Key Capabilities

CapabilityDescriptionExample Output
Image captioningGenerate a natural language description of an image"A dog playing fetch in a park"
Image taggingAssign descriptive tags to an image["dog", "outdoor", "park", "grass", "playing"]
Object detectionIdentify and locate objects with bounding boxesObject: "dog" at [100, 200, 150, 180]
Smart croppingAutomatically crop images around regions of interestFocused crop around the main subject
People detectionDetect and locate people in imagesPerson locations with bounding boxes
Background removalSeparate foreground from backgroundForeground mask or transparent background
OCR (Read)Extract printed and handwritten text"Invoice #12345, Date: March 2026"
Spatial analysisAnalyze video for people counting and movement15 people in zone A, average dwell time 3 min

Image Analysis 4.0 API

The latest version of the Image Analysis API (4.0) is powered by Florence, a large-scale vision foundation model. Key improvements include:

  • Better captioning — more natural and accurate image descriptions
  • Dense captioning — descriptions for multiple regions in an image
  • Image retrieval — search through images using text queries (vector search)
  • Customization — add your own categories using few-shot learning (minimal training data)

How to Use Image Analysis

  1. Create an Azure AI Vision resource in the Azure portal
  2. Send an image to the REST API or use the SDK
  3. Specify which visual features you want (caption, tags, objects, etc.)
  4. Receive structured JSON results
Request: POST /imageanalysis:analyze?features=caption,tags,objects
Image: [photo of a park scene]

Response:
{
  "caption": "A golden retriever playing fetch in a sunny park",
  "tags": ["dog", "golden retriever", "park", "grass", "ball", "outdoor"],
  "objects": [
    {"name": "dog", "confidence": 0.97, "boundingBox": {...}},
    {"name": "ball", "confidence": 0.89, "boundingBox": {...}}
  ]
}

On the Exam: Know that Azure AI Vision provides PRE-BUILT capabilities — you do not need to train a model. Send an image, get results. If a question asks about training a custom image model, that is Azure AI Custom Vision (different service).

OCR with the Read API

The Read API is Azure AI Vision's OCR capability for extracting text from images and documents:

Supported Content

  • Printed text in 164+ languages
  • Handwritten text in English, Chinese, French, German, Italian, Japanese, Korean, Portuguese, Spanish
  • Mixed content — images with both printed and handwritten text
  • Document formats — JPEG, PNG, BMP, PDF, TIFF

Read API Process

  1. Submit an image or document to the Read API
  2. The service processes the image asynchronously
  3. Retrieve results with extracted text, line positions, and word positions
  4. Results include confidence scores for each extracted word

Common OCR Use Cases

  • Digitizing paper documents and forms
  • Reading license plates from camera images
  • Extracting data from receipts and invoices
  • Converting handwritten notes to searchable text
  • Indexing text in image-heavy documents

Spatial Analysis

Spatial Analysis uses video streams from cameras to understand how people move through physical spaces:

CapabilityDescriptionUse Case
People countingCount people entering/exiting an areaRetail foot traffic analysis
Social distancingMeasure distance between peopleWorkplace safety compliance
Zone dwell timeTrack how long people stay in areasRetail store layout optimization
Queue monitoringCount people in lines and estimate wait timesCustomer service improvement
Movement trackingTrack paths people take through a spaceFacility layout planning

On the Exam: Spatial Analysis requires a camera connected to an Azure IoT Edge device. It processes video locally (edge computing) and sends only aggregated analytics to the cloud — not individual faces or video frames.

When to Use Azure AI Vision vs. Other Services

ScenarioService to Use
Analyze a single image for tags, captions, objectsAzure AI Vision
Extract text from a scanned documentAzure AI Vision (Read API) or Azure AI Document Intelligence
Train a custom image classifier with your own categoriesAzure AI Custom Vision
Detect and verify human facesAzure AI Face
Generate images from text descriptionsAzure OpenAI Service (DALL-E / GPT Image)
Analyze video for scene detection and transcriptionAzure AI Video Indexer
Count people in a physical space using videoAzure AI Vision (Spatial Analysis)
Extract structured data from forms and invoicesAzure AI Document Intelligence
Test Your Knowledge

Which Azure service provides pre-built image analysis capabilities including captioning, tagging, and object detection WITHOUT requiring custom model training?

A
B
C
D
Test Your Knowledge

A company wants to count the number of people entering and exiting their retail stores using existing security cameras. Which Azure AI Vision capability should they use?

A
B
C
D
Test Your Knowledge

Which Azure AI Vision capability would you use to extract text from a photograph of a handwritten note?

A
B
C
D
Test Your Knowledge

What is the difference between Azure AI Vision and Azure AI Custom Vision?

A
B
C
D

Naming: From Cognitive Services to Azure AI Vision

For the exam, lock in the current names. The service formerly called Computer Vision is now Azure AI Vision, and it belongs to the rebranded Azure AI services family (formerly the Cognitive Services umbrella). You provision it as a single Azure AI Vision resource — or as a multi-service Azure AI services resource that bundles Vision, Language, Speech, and more behind one key and endpoint. Older material that says "Computer Vision API" or "Cognitive Services" is describing the same capability under retired names.

Vision-Adjacent Services: Pick the Right One

A frequent exam trap is choosing Azure AI Vision when a more specialized service is the correct answer. Keep these boundaries crisp:

NeedCorrect ServiceWhy Not Azure AI Vision
Train a classifier on your own categoriesAzure AI Custom VisionVision uses fixed, pre-built categories
Verify or identify a personAzure AI FaceVision detects people, not identities
Extract fields and tables from forms/invoicesAzure AI Document IntelligenceVision's OCR reads text but not structured fields
Generate an image from a text promptAzure OpenAI (DALL-E / GPT image)Vision analyzes images, it does not create them
Index/transcribe video contentAzure AI Video IndexerVision targets images and live spatial analysis

How Billing and Access Work (Awareness)

You consume Azure AI Vision through a REST API or language SDKs by sending an image (or its URL) and the list of visual features you want. Billing is per transaction (per image analyzed), and a free tier exists for low-volume testing. There is no model to train or host for the pre-built features — Microsoft maintains the underlying Florence foundation model. This is the key contrast with Custom Vision and Azure Machine Learning, where you own the trained model.

The Read (OCR) API in Practice

The Read capability is asynchronous for large or multi-page documents: you submit the job, then poll for results, which return text grouped into pages, lines, and words, each with a bounding region and confidence score. It reads printed text in 160+ languages and handwritten text in a smaller set of major languages, across formats like JPEG, PNG, PDF, and TIFF.

On the Exam: Default to Azure AI Vision for general, pre-built image analysis and OCR. Switch to a specialized service the instant the scenario adds custom categories (Custom Vision), people identity (Face), structured documents (Document Intelligence), or content creation (Azure OpenAI). Recognize that "Computer Vision" and "Cognitive Services" in older questions mean Azure AI Vision and Azure AI services today.