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
Not recommended
55/ 100 5-point scale 2.8 / 5
Trust17 / 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.

Reliability8 / 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.

Adaptability10 / 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.

Convention10 / 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.

Effectiveness6 / 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.

Verifiability4 / 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 it does & when to 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.

Pros & cons

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 to install

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 to use

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 Identity for Python

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

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

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 Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

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

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.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

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 Queue Storage for Rust

A focused guide for building secure Azure Queue Storage messaging workflows in Rust.

Related skills