Dev & Engineering ✓ Microsoft · Official azure-ai-visionimage-analysiscomputer-visionocrobject-detectionpython-sdksmart-cropping

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

FollowSkills review · FSRS-2.0
Use with care
55/ 100 5-point scale 2.8 / 5
1 2 3 4 5 6
1Trust17 / 25 · 3.4/5

The skill recommends DefaultAzureCredential, constrains production credential selection, and clearly labels API-key authentication as legacy, supporting least-privilege credential handling. However, image URLs are sent to Azure, while sensitive OCR and people-detection data flows, retention, user confirmation, and permission scope are not explained, so points are deducted.

2Reliability8 / 20 · 2.0/5

The material covers sync/async clients, deterministic cleanup, and HttpResponseError handling. Dependency versions, API compatibility, malformed-input behavior, null-field handling, and diagnosable failure feedback remain thin; several examples assume result fields exist. Static review also caps this dimension at 10, so points are deducted.

3Adaptability10 / 15 · 3.3/5

Triggers, Python SDK scope, image-analysis scenarios, and major visual features are explicit. Non-fit boundaries, regional/service constraints, Chinese-language practices, and conditions for Azure reachability from mainland-China networks are not established, so points are deducted.

4Convention10 / 15 · 3.3/5

The skill has readable sections for installation, authentication, features, errors, best practices, MIT licensing, version metadata, and linked references. It lacks pinned dependency versions, a changelog, explicit maintenance ownership, and a concrete update path, so it does not receive full marks.

5Effectiveness6 / 15 · 2.0/5

The examples directly support URL/file analysis, OCR, detection, captions, and smart cropping and provide a usable starting point. Outputs are mostly print-oriented, with limited production wrapping, cost/privacy tradeoffs, and no statically verifiable representative results; the static cap is 7, so points are deducted.

6Verifiability4 / 10 · 2.0/5

Concrete code, feature tables, references, and repository-level CI/test evidence provide some auditability. The supplied material does not show committed tests covering this skill's key paths or third-party execution evidence, so verification remains limited.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • analyze_from_url sends images to Azure; confirm compliance, region, and retention requirements before processing personal, identity-document, or sensitive-text images.
  • Dependency versions are not pinned, and the material does not prove that every method and result field works with the current SDK version.
  • Quotas, billing, regional availability, Chinese OCR/caption quality, and mainland-China network connectivity are not clearly documented.
See the full review method →

What does this skill do, and when should you use it?

This skill guides development with the Azure AI Vision 4.0 Image Analysis Python SDK. It covers captions, dense captions, tags, object detection, OCR, people detection, and smart cropping. It includes synchronous and asynchronous client examples and recommends DefaultAzureCredential for authentication. It is suited to developers integrating Azure image analysis into Python applications or services.

It shows agents how to install azure-ai-vision-imageanalysis, configure VISION_ENDPOINT and authentication variables, create synchronous or asynchronous ImageAnalysisClient instances, and analyze images from URLs or local files. The examples retrieve captions, tags, object and people bounding boxes, OCR lines and words, confidence values, and smart-crop regions. The skill also demonstrates HttpResponseError handling, language selection, gender-neutral captions, context-manager usage, and asynchronous credential cleanup.

  1. A Python developer needs a single-sentence or multi-region description of an image and selects CAPTION or DENSE_CAPTIONS.
  2. A team building image search, content labeling, or scene recognition uses TAGS to obtain image content tags.
  3. An application needs to locate objects or people and use their bounding boxes with OBJECTS or PEOPLE.
  4. A developer extracts text from screenshots, scans, or photographs with the READ OCR feature.
  5. A team generates thumbnail compositions for several aspect ratios with SMART_CROPS.

What are this skill's strengths and limitations?

Pros
  • Covers the primary capabilities of Azure AI Vision 4.0 Image Analysis.
  • Includes URL and local-file inputs plus synchronous and asynchronous client examples.
  • Clearly recommends DefaultAzureCredential and deterministic client and credential lifecycle management.
  • Includes guidance on error handling, language, gender-neutral captions, caching, and selecting only required features.
Limitations
  • It targets the Python SDK and is not directly a guide for other language SDKs.
  • It requires an Azure endpoint and credentials or an existing keyed deployment; no offline mode is documented.
  • The source does not provide independent test coverage or pricing information for this individual skill.
  • Images are subject to limits including 20 MB maximum size and dimensions from 50×50 to 16000×16000 pixels.

How do you install this skill?

Run npx skills add microsoft/skills and select the required skill in the wizard. The README says skills are installed in the selected agent directory; the exact destination is determined by the agent configuration. Install the Python SDK with pip install azure-ai-vision-imageanalysis.

How do you use this skill?

Give the agent a task containing a trigger such as “image analysis,” “computer vision,” “OCR,” “object detection,” “ImageAnalysisClient,” or “image caption.” Configure VISION_ENDPOINT, prefer DefaultAzureCredential in production, and call analyze_from_url or analyze through ImageAnalysisClient with the required VisualFeatures. Input images must meet the formats, size, and dimension limits stated in the source.

FAQ

Is Entra ID authentication mandatory?
New code should prefer DefaultAzureCredential. AzureKeyCredential is documented for existing keyed deployments that have not yet migrated to Entra ID.
Does the skill explain Azure AI Vision pricing?
No. The source provides no pricing or cost estimate; it only recommends selecting needed features to optimize latency and cost.
How should analysis failures be handled?
Catch azure.core.exceptions.HttpResponseError and inspect status_code, reason, and error.message. The source identifies invalid images and authentication issues as possible causes.
What inputs can it analyze?
It analyzes images from URLs or local files. The listed formats are JPEG, PNG, GIF, BMP, WEBP, ICO, TIFF, and MPO.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis for Java

A practical Java SDK guide for captions, OCR, object detection, tagging, and smart image cropping.

Dev & Engineering ✓ Microsoft · Official

Azure Voice Live for Python

Guides Python developers in building real-time, bidirectional voice AI applications on Azure.

Dev & Engineering ✓ Microsoft · Official

Azure AI Content Safety for Java

Helps Java applications detect harmful text and images and manage custom blocklists.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

Dev & Engineering ✓ Microsoft · Official

Azure AI Content Safety for Python

Guides Python applications in detecting harmful text and images and enforcing custom blocklists.

Dev & Engineering ✓ Microsoft · Official

Azure Conversation Understanding for Python

Helps Python developers analyze conversation intents and entities with the Azure SDK.

Dev & Engineering ✓ Microsoft · Official

Azure Document Translation for Python

Batch-translate Azure Blob Storage documents in Python while preserving their original formats.

Dev & Engineering ✓ Microsoft · Official

Azure AI Foundry Agent Framework

Helps Python developers build persistent Azure AI Foundry agents with hosted tools, MCP integrations, threads, and streaming.

Dev & Engineering ✓ Microsoft · Official

Azure Text Translation for Python

Add real-time Azure text translation to Python applications.

Dev & Engineering ✓ Microsoft · Official

Azure AI Search for Python

Helps Python developers build vector, hybrid, and semantic search applications with Azure AI Search.

Dev & Engineering ✓ Microsoft · Official

Microsoft Foundry Python Projects Skill

Gives coding agents dependable patterns for building Foundry AI applications with the Azure AI Projects Python SDK.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Dev & Engineering ✓ Microsoft · Official

Azure App Configuration for Python

Centralize Python application settings, feature flags, and dynamic configuration in Azure.

Dev & Engineering ✓ Microsoft · Official

Azure Container Registry for Python

Manage Azure container images, artifacts, and repositories from Python.

Related skills