Azure AI Services

Build intelligent applications with pre-built AI models or train your own custom AI models.

Explore Azure AI Services

Vision

Analyze images and videos to detect objects, faces, text, and more with powerful computer vision capabilities.

Learn More

Language

Understand and process natural language with services for sentiment analysis, translation, speech-to-text, and more.

Learn More

Speech

Enable your applications to speak and hear using advanced speech synthesis and speech recognition.

Learn More

Decision

Make smarter decisions with personalized recommendations, anomaly detection, and content moderation.

Learn More

OpenAI Service

Leverage the power of large language models like GPT-3.5 and GPT-4 to generate text, answer questions, and more.

Learn More

Azure Machine Learning

Accelerate your machine learning lifecycle, from data preparation and model training to deployment and management.

Learn More

Getting Started with Azure AI

Quickstart: Image Analysis

Here's a simple example of how to use the Azure AI Vision service to analyze an image.

// Using Azure.AI.Vision.ImageAnalysis;
using Azure;

// Replace with your actual endpoint and API key
var credential = new AzureKeyCredential("YOUR_API_KEY");
var endpoint = "YOUR_ENDPOINT";

var client = new ImageAnalysisClient(endpoint, credential);

// Replace with a publicly accessible image URL
var imageUrl = "https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/media/quickstarts/image.jpg";

ImageAnalysisResult result = await client.AnalyzeAsync(
    new Uri(imageUrl),
    VisualFeatures.Caption | VisualFeatures.Read);

Console.WriteLine("Image analysis results:");
Console.WriteLine($" Caption: {result.Caption.Text}");
Console.WriteLine($" Read: {result.Read.Content}");

For more comprehensive guidance, visit the Azure AI Documentation.