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.

51/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 2.7k
Last updated
3mo ago
License
MIT
azure-ai-visionjava-sdkimage-captioningocr
+2object-detectionsmart-cropping

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.

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

How do you install this skill?

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.
Before you start
Your agent needs
  • Network access
  • Local filesystem
Install first
  • Java
  • com.azure:azure-ai-vision-imageanalysis 1.1.0-beta.1

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.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.github/plugins/azure-sdk-java/skills/azure-ai-vision-imageanalysis-java" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

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.

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 does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Azure AI Vision Image Analysis for Java this page ✓ Microsoft · Official 51 · Use with care ★ 2.7k 3mo ago MIT
Azure AI Vision Image Analysis ✓ Microsoft · Official 55 · Use with care ★ 2.7k 3mo ago MIT
Azure Document Intelligence for Java ✓ Microsoft · Official 46 · Use with care ★ 2.7k 3mo ago MIT
Azure AI VoiceLive for Java ✓ Microsoft · Official 45 · Not recommended ★ 2.7k 3mo ago MIT
Azure AI Projects for Java ✓ Microsoft · Official 39 · Not recommended ★ 2.7k 3mo ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
51/ 100 5-point scale 2.6 / 5
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.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a Review evidence[1][2][3][4][5][6][7][8][9][10][11]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

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.

★ 2.7k FS 55 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Document Intelligence for Java

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

★ 2.7k FS 46 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI VoiceLive for Java

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

★ 2.7k FS 45 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Projects for Java

Guides Java developers in managing Azure AI Foundry project resources.

★ 2.7k FS 39 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

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

★ 2.7k FS 57 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure CallingServer Java Legacy Maintainer

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

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Java

Query Azure Monitor logs and resource metrics from Java applications.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Communication Common for Java

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

★ 2.7k FS 51 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Document Intelligence for TypeScript

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

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Services Skill

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

★ 2.7k FS 49 Use with care 3mo ago
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.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Batch Java Job Orchestration

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

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Tables Java Skill

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

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor Log Ingestion for Java

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

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Event Grid for Java

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

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Java

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

★ 2.7k FS 47 Use with care 3mo ago
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.

★ 2.7k FS 46 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Document Intelligence for .NET

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

★ 2.7k FS 45 Not recommended 3mo ago
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.

★ 2.7k FS 44 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Call Automation for Java

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

★ 2.7k FS 43 Not recommended 3mo ago

Related skills