Dev & Engineering ✓ Microsoft · Official azure-ai-visionjava-sdkimage-captioningocrobject-detectionsmart-cropping

Azure AI Vision Image Analysis for Java

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

FollowSkills review · FSRS-2.0
Use with care
51/ 100 5-point scale 2.6 / 5
1 2 3 4 5 6
1Trust15 / 25 · 3.0/5

The skill exposes API-key environment variables, DefaultAzureCredential, and managed identity, and recommends managed identity for production. However, it does not disclose that images and OCR data are sent to Azure, data retention, sensitive-content handling, least-privilege requirements, user confirmation, network boundaries, or rollback. No malware, credential theft, or destructive default is evident, but these omissions warrant deductions.

2Reliability7 / 20 · 1.8/5

The main path covers installation, synchronous and asynchronous clients, major visual features, and HTTP error handling. However, the beta dependency is unexplained; several examples rely on undefined imageUrl, endpoint, or imports; input validation, empty-result handling, timeout configuration, and implemented retry behavior are missing. Some SDK calls are not statically verified as compilable. Static calibration therefore keeps this below 10.

3Adaptability10 / 15 · 3.3/5

The audience, capability scope, and trigger phrases are reasonably clear, covering captions, OCR, objects, tags, people, and cropping, with regional limits and a language option noted. Boundaries for unsuitable use, privacy-sensitive images, cost and quotas, deployment prerequisites, and mainland-China network reachability are not addressed, so points are deducted.

4Convention9 / 15 · 3.0/5

SKILL.md provides metadata, installation, client setup, a feature table, examples, error handling, environment variables, limitations, and trigger phrases, with an additional examples reference. However, it lacks a changelog, stable-version policy, explicit maintenance/update path, and explanation of the beta dependency. Repeated examples contain hidden assumptions. MIT licensing and Microsoft authorship are clear.

5Effectiveness6 / 15 · 2.0/5

The material can directly inform code generation for common Java image-analysis tasks and includes broad feature coverage plus a report example. However, examples are not shown to compile or execute, outputs are mostly console-oriented, and production integration guidance for configuration, testing, retries, and privacy is incomplete. Static evidence supports only limited effectiveness.

6Verifiability4 / 10 · 2.0/5

The versioned skill file, reference examples, MIT license, and repository CI/evaluation material provide some auditability. There is no skill-specific test suite, real execution evidence, or independent corroboration for the documented SDK paths; external documentation is only linked, so static reproducibility is limited.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Do not hard-code or commit API keys; prefer managed identity and verify minimal RBAC permissions for the Azure resource.
  • Treat images, OCR text, and remote URLs as potentially sensitive; confirm data flow, region, retention, and user authorization before deployment.
  • Compile and validate version 1.1.0-beta.1 and the examples in the target project; add missing variables/imports, empty-result handling, timeouts, and exponential-backoff retries.
  • Separately verify regional availability and mainland-China network/service reachability for Caption and Dense Captions.
See the full review method →

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

This skill helps Java developers build applications with the Azure AI Vision Image Analysis SDK. It provides Maven installation, API-key and Azure identity authentication, and synchronous or asynchronous client examples. The covered features include captions, dense captions, OCR, tags, objects, people, and smart crops. It fits applications that can provide an Azure Vision endpoint and credentials, with regional constraints for caption features.

It shows how to add the com.azure:azure-ai-vision-imageanalysis Maven dependency, create synchronous or asynchronous clients, and analyze local image files or image URLs through an Azure Vision endpoint. The examples generate captions, extract text with confidence and bounding polygons, return tags, detect objects and people with bounding boxes, produce smart-crop regions, and combine multiple visual features. It also demonstrates gender-neutral captions, language selection, environment variables, and HttpResponseException handling.

  1. A Java developer needs human-readable descriptions for uploaded images and uses CAPTION or DENSE_CAPTIONS.
  2. A document-processing application needs OCR text, lines, words, confidence values, and locations from images and uses READ.
  3. An image catalog or moderation workflow needs detected objects and bounding boxes and uses OBJECTS.
  4. An application needs content tags or person locations from images and uses TAGS or PEOPLE.
  5. A thumbnail service needs salient regions for selected aspect ratios and uses SMART_CROPS.

What are this skill's strengths and limitations?

Pros
  • Covers captions, OCR, tags, objects, people, and smart cropping in one Java-focused guide.
  • Includes API-key and DefaultAzureCredential authentication, plus synchronous and asynchronous clients.
  • Provides concrete examples for local files and URLs, confidence values, bounding boxes, and error details.
Limitations
  • The Maven example uses the beta version `1.1.0-beta.1`.
  • CAPTION and DENSE_CAPTIONS require GPU-supported regions, so regional availability must be checked before deployment.
  • The application requires an Azure Vision endpoint and credentials; the source does not document pricing, quotas, or a complete deployment workflow.

How do you install this skill?

Install the collection with npx skills add microsoft/skills, then select this skill in the wizard. Skills are installed to the selected agent directory, such as .github/skills/ for GitHub Copilot. Add the Maven dependency com.azure:azure-ai-vision-imageanalysis:1.1.0-beta.1 to the Java project.

How do you use this skill?

Example triggers include image analysis Java, Azure Vision SDK, image captioning, and OCR image text extraction. Set VISION_ENDPOINT; also set VISION_KEY for API-key authentication, or AZURE_TOKEN_CREDENTIALS=prod when using DefaultAzureCredential in production. Use the provided Java patterns with analyze or analyzeFromUrl and select the required VisualFeatures.

FAQ

Does this skill include the Azure Vision service itself?
No. It provides implementation guidance for the Java SDK. Running the application still requires an Azure Vision endpoint and API-key or token credentials.
What image limits are documented?
Supported formats are JPEG, PNG, GIF, BMP, WEBP, ICO, TIFF, and MPO. Images must be under 20 MB and between 50×50 and 16000×16000 pixels.
What information is available when analysis fails?
The example catches `HttpResponseException` and reads the HTTP status code and error message.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

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

Dev & Engineering ✓ Microsoft · Official

Azure Document Intelligence for Java

Gives Java developers practical patterns for extracting and classifying data with Azure Document Intelligence.

Dev & Engineering ✓ Microsoft · Official

Azure AI VoiceLive for Java

Build real-time, bidirectional AI voice conversations in Java over WebSocket.

Dev & Engineering ✓ Microsoft · Official

Azure AI Projects for Java

Guides Java developers in managing Azure AI Foundry project resources.

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 CallingServer Java Legacy Maintainer

Maintain legacy CallingServer Java code and migrate it toward Azure Communication Services Call Automation.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Java

Query Azure Monitor logs and resource metrics from Java applications.

Dev & Engineering ✓ Microsoft · Official

Azure Communication Common for Java

Guides Java developers through shared ACS authentication, token refresh, and communication identifier handling.

Dev & Engineering ✓ Microsoft · Official

Azure Document Intelligence for TypeScript

Extract document text, tables, and structured fields in TypeScript applications.

Dev & Engineering ✓ Microsoft · Official

Azure AI Services Skill

Guides coding agents through Azure AI Search, Speech, OpenAI, and OCR workflows.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Keys for Java

Ground Java coding agents in secure Azure Key Vault and Managed HSM key-management workflows.

Dev & Engineering ✓ Microsoft · Official

Azure Batch Java Job Orchestration

Run and manage large-scale parallel and HPC workloads on Azure from Java.

Dev & Engineering ✓ Microsoft · Official

Azure Tables Java Skill

Build Java applications for Azure Table Storage and the Cosmos DB Table API.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Log Ingestion for Java

Guides Java applications in sending structured custom logs to Azure Monitor through DCRs.

Dev & Engineering ✓ Microsoft · Official

Azure Event Grid for Java

A practical Java SDK guide for publishing, consuming, and handling Azure Event Grid events.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Java

A practical Java playbook for building file and streaming workflows on Azure Blob Storage.

Dev & Engineering ✓ Microsoft · Official

Azure Web PubSub for Java

A practical Java SDK guide for Azure Web PubSub messaging, groups, permissions, and real-time client access.

Dev & Engineering ✓ Microsoft · Official

Azure Document Intelligence for .NET

Guides .NET developers in extracting structured data from invoices, receipts, IDs, and forms.

Dev & Engineering ✓ Microsoft · Official

Azure Communication Chat for Java

A practical Java SDK guide for building Azure real-time chat threads, messaging, and participant workflows.

Dev & Engineering ✓ Microsoft · Official

Azure Call Automation for Java

Build Java workflows for IVR, call routing, recording, and voice-driven interactions.

Related skills