Azure Spatial Analysis: People Counting, Zone Tracking, and Direction Detection
A retail company wants to use security cameras to analyze customer flow. They need to detect when a person enters a specific store zone, count how many people are in that zone at any given time, and track the direction each person moves within the zone. Which Azure Computer Vision capability should they use?
Quick Answer
The answer is Spatial Analysis, the dedicated Azure Computer Vision capability for people counting, zone tracking, and direction detection. This is correct because Spatial Analysis processes video feeds from cameras using AI models trained specifically to identify human presence, measure occupancy within defined zones, and calculate movement trajectories—going beyond generic object detection to deliver the precise spatial metrics a retail store needs. On the AI-900 exam, this question tests your understanding of how Computer Vision services are specialized; a common trap is choosing “Object Detection” or “Face Detection,” which lack zone-based counting and directional tracking. Remember the memory tip: “Spatial” equals “space and path”—if the scenario involves counting people inside a zone or following their direction, Spatial Analysis is the only fit.
⚠ Common exam trap
Test-takers frequently confuse object detection (which simply finds objects) with Spatial Analysis (which adds zone-aware tracking and counting), leading them to choose the more familiar 'Object detection' option without recognizing the need for directional tracking and zone occupancy.
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
✓
Spatial Analysis
Spatial Analysis is the correct Azure Computer Vision capability because it is specifically designed to analyze video feeds from cameras to detect people, count them in defined zones, and track their movement direction. Unlike general object detection, Spatial Analysis provides the specialized functions for zone occupancy and person trajectory tracking required by the retail scenario.
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 can detect people in frames, but it does not track their movement across frames or count them entering/leaving specific zones.
- ✓
Spatial Analysis
Why this is correct
Spatial Analysis enables real-time analysis of people movement and occupancy in defined zones, making it ideal for this requirement.
- ✗
Optical Character Recognition (OCR)
Why it's wrong here
OCR extracts text from images and is unrelated to detecting people or tracking movement.
- ✗
Semantic segmentation
Why it's wrong here
Semantic segmentation classifies each pixel into categories (e.g., person, floor), but it does not track individuals or count zone entries over time.
Go deeper
Related to this question
Learn chapter
Azure Machine Learning Studio
Key term
Object detection
Object detection is a computer vision technology that identifies and locates specific objects within an image or video.
Key term
Computer vision
Computer vision is a field of artificial intelligence that enables computers to interpret and make decisions based on visual data from the world, such as images and videos.
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 →
Same concept, more angles
5 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 retail store uses security cameras to analyze customer behavior. They need to detect when a person enters a specific zone (e.g., an aisle) and count how many people are in that zone at any given time. Which Azure Computer Vision capability should they use?
medium- ✓ A.Spatial Analysis
- B.Object Detection
- C.Image Classification
- D.Optical Character Recognition (OCR)
Why A: Spatial Analysis is the correct Azure Computer Vision capability because it is specifically designed to analyze video feeds from cameras to detect people entering predefined zones, track their movement, and count occupancy in real time. This capability uses AI models to understand spatial relationships and events within a video frame, such as a person crossing a line or entering a zone, which directly matches the requirement to detect when a person enters a specific aisle and count how many people are in that zone.
Variation 2. A retail store wants to analyze customer behavior in front of a specific product display. They need to determine how long each customer stands in front of the display and whether they pick up an item. Which Azure Computer Vision capability should they use?
hard- A.Image Classification
- B.Optical Character Recognition (OCR)
- C.Object Detection
- ✓ D.Spatial Analysis
Why D: Spatial Analysis is the correct Azure Computer Vision capability because it is specifically designed to analyze people's movement, presence, and interactions within a physical space using video feeds. It can track how long a customer stands in front of a display (dwell time) and detect actions like picking up an item, by processing bounding boxes and skeleton data from cameras.
Variation 3. A retail chain wants to analyze in-store security camera feeds to count the number of customers entering the store each hour. Which Azure Computer Vision capability should they use?
easy- A.Image classification
- ✓ B.Object detection
- C.Optical Character Recognition (OCR)
- D.Facial recognition
Why B: Object detection is the correct capability because it can identify and locate multiple instances of 'person' objects within each video frame, then track and count them over time to determine the number of customers entering per hour. Image classification only labels the entire image with a single category, which cannot provide per-object counts or spatial locations needed for accurate customer counting.
Variation 4. A retail store uses ceiling-mounted cameras to analyze customer traffic flow. They need to detect when a person enters a specific aisle and determine the direction they are walking. Which Azure Computer Vision capability should they use?
medium- A.Image Analysis dense captioning
- B.Facial recognition
- ✓ C.People counting (Spatial Analysis)
- D.Optical Character Recognition (OCR)
Why C: Spatial Analysis, part of Azure Computer Vision, uses ceiling-mounted cameras to track people's movement and direction in a physical space. It specifically provides people counting and trajectory analysis, making it ideal for detecting when a person enters an aisle and determining their walking direction.
Variation 5. A retail store wants to analyze customer movement patterns, such as dwell time in front of displays and foot traffic heatmaps, using existing surveillance cameras. Which Azure Computer Vision capability is most suitable?
medium- A.Object detection
- B.Optical character recognition (OCR)
- ✓ C.Spatial analysis
- D.Image classification
Why C: Spatial analysis is the correct choice because it is specifically designed to analyze people's presence, movement, and interactions within a physical space using video feeds. It can measure dwell time in front of displays and generate foot traffic heatmaps by tracking individuals across camera frames, which directly matches the retail store's requirements.
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.