[ ABORT TO HUD ]
SEQ. 1
SEQ. 2
SEQ. 3
SEQ. 4
SEQ. 5

Vision & Image Analysis

🔧 Foundry Tools (AI Services) 7 min 60 BASE XP⌨ HANDS-ON LAB

Computer Vision in Foundry

Foundry Tools (formerly Azure Cognitive Services) provide pre-built AI capabilities that you can plug into your applications via APIs.

Vision Capabilities

FeatureWhat It DoesUse Case
Image Analysis 4.0Detect objects, read text (OCR), generate captionsProduct cataloging, accessibility
Custom VisionTrain custom image classifiersDefect detection, brand recognition
Face APIDetect and verify facesIdentity verification (with compliance)
Video AnalysisExtract insights from video contentContent moderation, scene detection

Image Analysis Quick Start

from azure.ai.vision.imageanalysis import ImageAnalysisClient
from azure.identity import DefaultAzureCredential

client = ImageAnalysisClient(
    endpoint="<your-foundry-endpoint>",
    credential=DefaultAzureCredential()
)

result = client.analyze(
    image_url="https://example.com/photo.jpg",
    visual_features=["CAPTION", "OBJECTS", "READ"]
)
print(result.caption.text)  # "A dog playing in a park"
💡 Key Insight: Vision APIs can be used as tools for AI agents. An agent can call the Vision API to understand images uploaded by users, enabling multimodal workflows within Foundry.
⌨ HANDS-ON LABAnalyze an Image over REST
⭐ +150 XP

Product photos need captions and OCR at scale. Grab your resource key with the CLI, then hit the Image Analysis 4.0 endpoint with curl.

1Fetch your Foundry resource's API keys with the Azure CLI.
2POST an image URL to imageanalysis:analyze requesting caption and read (OCR) features.
lab-sandbox — simulated environment
INFINITY LAB SANDBOX v2.6 — simulated shell
Type the command for the current objective. Helpers: "hint", "solution", "clear".
$
OBJECTIVE 1 / 2 — type "hint" if stuck
FOUNDRY VERIFICATION
QUERY 1 // 1
What does Image Analysis 4.0 provide?
Only face detection
Object detection, OCR text reading, and caption generation
Only image generation
Video editing