# Azure AI Custom Vision

Azure AI Custom Vision is a managed service for training, publishing, and exporting custom image classification and object detection models using labeled images.

Cloud service · Azure. Updated 2026-11-25. Page: https://blowstack.com/tools/cloud-services-hub/azure-ai-custom-vision

> Custom Vision uses transfer learning to recognize customer-defined visual categories through a web portal, REST APIs, and SDKs. It supports hosted prediction endpoints and exportable compact models, but it is not a general-purpose OCR or video analytics service. Microsoft has announced retirement on September 25, 2028, with full support for existing customers until that date.

## 8 key features of Azure AI Custom Vision

1. **Custom image classification**: Train models that assign your own tags to complete images. Choose multiclass classification when one category should apply or multilabel classification when several categories can be present.
2. **Object detection with bounding boxes**: Train detectors using images annotated with labeled object regions. Predictions return confidence scores and normalized bounding-box coordinates that applications can convert to pixel locations.
3. **Portal and programmatic workflows**: Use the Custom Vision portal for image labeling, training, and evaluation, or automate these operations through REST APIs and SDKs. Keep dataset versions and annotation exports outside the service to make experiments reproducible and support migration.
4. **Transfer learning and domain selection**: Start from service-provided base models and select a domain suited to the imagery and deployment target. Train on representative examples instead of assuming that a small prototype dataset will generalize to production.
5. **Fast and advanced training**: Use fast training for iterative development or advanced training with a specified compute-time budget. Compare resulting iterations on the same independent evaluation dataset before choosing a production candidate.
6. **Evaluation and iteration publishing**: Review precision, recall, and prediction behavior before publishing a trained iteration. Hosted applications address a published model name, allowing engineers to control which iteration is used for inference.
7. **Compact model export**: Export models trained with supported compact domains for execution outside the hosted prediction service. Verify target-format support and benchmark accuracy, latency, and memory consumption on the actual device.
8. **Data collection for retraining**: Prediction images can be retained for review and inclusion in future training iterations, and suggested tags can accelerate labeling. Use explicit retention policies and human verification so incorrect predictions do not become unreviewed training labels.

## Where Azure AI Custom Vision is used

1. **Retail product and shelf inspection**: Detect known products in shelf photographs to support availability checks and assisted stock counting. Evaluate performance on occluded products, packaging changes, and different store layouts before using detections for inventory decisions.
2. **Visible manufacturing condition checks**: Classify products by clearly visible conditions such as missing components, incorrect assembly, or major surface changes. Route uncertain results to inspectors and validate carefully because subtle cracks and dents are not an optimal fit for the service.
3. **Image catalog routing**: Assign domain-specific categories to uploaded images, such as equipment types or product families, and route them to the appropriate business workflow. Use multilabel classification when an image can belong to several categories.
4. **Frame-based visual alerts**: Analyze sampled camera frames for trained categories such as animal presence or visible steam. An external component must capture frames, control sampling rates, and combine detections over time to reduce duplicate or transient alerts.
5. **Offline field inspection**: Embed an exported compact model in a supported mobile or local application to classify images when connectivity is unreliable. Synchronize reviewed examples later for retraining and distribute model updates through an application-managed release process.

## How Azure AI Custom Vision is priced

- **Free tier (F0)**: The free tier provides limited capacity for evaluation, including two projects, up to 5,000 training images per project, and 10,000 predictions per month. Lower transaction-rate limits and other quotas make it unsuitable for most production workloads; confirm availability and current limits before provisioning.
- **Standard tier (S0)**: The standard tier uses consumption-based charges for training compute time, training-image storage, and prediction transactions. Training and prediction resources serve separate roles, so estimate both development activity and production inference volume; published transaction-rate quotas still apply.
- **Exported-model deployment costs**: Running an exported model locally does not invoke the hosted prediction API, so those local inferences do not incur Custom Vision prediction-transaction charges. Training and stored training data remain subject to applicable service charges, while device, container, hosting, monitoring, and model-distribution costs are separate.

## Services Azure AI Custom Vision works with

A common architecture stores incoming images in Azure Blob Storage and uses Azure Functions to validate each image before calling a published Custom Vision model. The function translates predictions into application-specific decisions and persists the result separately from the original image. An application-managed queue can absorb bursts, but workers still need bounded concurrency and retry backoff to respect prediction throughput limits. Key Vault holds service credentials, while the worker's managed identity controls access to those secrets.

Keep the training workflow separate from online inference. Engineers can curate reviewed images from storage, upload labeled examples through the training API, and evaluate each iteration before publishing it. Custom Vision storage integration can send training and export notifications to Azure Storage queues, allowing workers to react to completed operations instead of continuously polling. Application Insights can capture caller-side latency, errors, and model identifiers without recording sensitive image payloads.

For retirement planning, preserve original images, annotations, evaluation datasets, and business decision thresholds independently of Custom Vision. Rebuild training in Azure Machine Learning AutoML and compare replacement predictions against the existing implementation before redirecting production traffic. Exported compact models require a separate deployment path for runtime packaging, device updates, and operational monitoring.

- **[Azure Blob Storage](https://blowstack.com/tools/cloud-services-hub/azure-blob-storage)**: Use Blob Storage as an application-managed repository for original images, reviewed annotations, and exported model artifacts. For example, retain versioned inspection images in a private container and have a training job upload selected images to Custom Vision through its training API. Storage is not automatically synchronized with a project; the application must implement ingestion, labeling, and retention.
- **[Azure Functions](https://blowstack.com/tools/cloud-services-hub/azure-functions)**: Use Functions to validate images, call a published prediction endpoint, and route results to downstream workflows. For example, a blob-triggered function can classify a newly uploaded product image and write its predicted category to an application database. Bound concurrency and implement retry backoff so scale-out does not exceed Custom Vision prediction quotas.
- **[Queue Storage](https://blowstack.com/tools/cloud-services-hub/queue-storage)**: Custom Vision storage integration can emit training and export activity notifications to Azure Storage queues, reducing the need for continuous status polling. For example, a worker can consume a training-completion notification, inspect the iteration's metrics, and request an approved model export. Make consumers idempotent because queue messages can be delivered more than once.
- **[Azure Key Vault](https://blowstack.com/tools/cloud-services-hub/azure-key-vault)**: Store Custom Vision training and prediction keys in Key Vault instead of embedding them in source code or client applications. For example, a backend hosted in Azure Functions can use its managed identity to retrieve the prediction key and then call Custom Vision. Keep training secrets available only to authorized training jobs and define a key-rotation procedure.
- **[Azure Monitor](https://blowstack.com/tools/cloud-services-hub/azure-monitor)**: Instrument the calling application with Application Insights to track prediction latency, failures, throttling, and the published model name used for each request. For example, alert when HTTP 429 responses increase after a camera fleet expands. Record reviewed outcomes separately to measure model quality, and avoid putting raw images, credentials, or sensitive image URLs in telemetry.
- **[Azure Machine Learning](https://blowstack.com/tools/cloud-services-hub/azure-machine-learning)**: Use Azure Machine Learning AutoML as a migration destination for custom image classification and object detection before Custom Vision retires. For example, export images and annotations, convert them to the required training schema, train a replacement model, and compare it against the existing service on a fixed test set. Rebuild deployment and prediction-response handling explicitly rather than assuming Custom Vision projects or published endpoints transfer directly.
- **[Azure AI Video Indexer](https://blowstack.com/tools/cloud-services-hub/azure-ai-video-indexer)**: In the animated-character recognition workflow, Custom Vision trains an object detector from labeled character images so Azure AI Video Indexer can identify those characters in video footage.
- **[Azure Container Registry](https://blowstack.com/tools/cloud-services-hub/azure-container-registry)**: A model exported from a compact Custom Vision project can be packaged as a Docker image and published to Azure Container Registry. Azure IoT Edge devices can then pull the image to run predictions locally.
- **[Azure DNS](https://blowstack.com/tools/cloud-services-hub/azure-dns)**: A Custom Vision account that uses a private endpoint can use an Azure Private DNS zone to resolve its endpoint hostname to a private IP address from linked virtual networks.
- **[Azure IoT Edge](https://blowstack.com/tools/cloud-services-hub/azure-iot-edge)**: Custom Vision can export a compact model for deployment as a container on Azure IoT Edge. An edge module can classify camera images locally without sending each image to the cloud.
- **[Azure IoT Hub](https://blowstack.com/tools/cloud-services-hub/azure-iot-hub)**: Azure IoT Hub manages deployments of exported Custom Vision model containers to IoT Edge devices. The edge workload can send classification results, such as parking-space occupancy, back through IoT Hub as device telemetry.
- **[Azure Marketplace](https://blowstack.com/tools/cloud-services-hub/azure-marketplace)**: The Custom Vision listing in Azure Marketplace opens the deployment form for creating Custom Vision training and prediction resources.
- **[Azure Policy](https://blowstack.com/tools/cloud-services-hub/azure-policy)**: Custom Vision accounts are Azure AI services resources that Azure Policy can evaluate for configuration compliance. For example, a policy can flag accounts that allow public network access.
- **[Azure portal](https://blowstack.com/tools/cloud-services-hub/azure-portal)**: The Azure portal provisions and configures Custom Vision training and prediction accounts. Administrators can use it to manage keys, network access, and the training account's managed identity.
- **[Azure Private Link](https://blowstack.com/tools/cloud-services-hub/azure-private-link)**: Custom Vision supports private endpoints through Azure Private Link. Clients can reach a training or prediction account over a private IP address without exposing its endpoint to the public internet.
- **[Azure Resource Manager](https://blowstack.com/tools/cloud-services-hub/azure-resource-manager)**: Azure Resource Manager provisions Custom Vision training and prediction accounts as `Microsoft.CognitiveServices/accounts` resources. Templates can deploy the accounts with their associated network and identity settings.
- **[Azure role-based access control (Azure RBAC)](https://blowstack.com/tools/cloud-services-hub/azure-role-based-access-control-(azure-rbac))**: Custom Vision has built-in Azure RBAC roles for tasks such as labeling images, training models, and publishing iterations. A labeler can prepare training data without being granted permission to deploy a model.
- **[Azure Service Health](https://blowstack.com/tools/cloud-services-hub/azure-service-health)**: Azure Service Health reports Azure service incidents and maintenance that affect the regions where Custom Vision accounts are deployed. Service Health alerts can notify operators of disruptions affecting their deployments.
- **[Azure Virtual Network](https://blowstack.com/tools/cloud-services-hub/azure-virtual-network)**: A Custom Vision account can be reached through a private endpoint in an Azure Virtual Network subnet. This lets workloads on the network use the account while public network access is disabled.
- **[Event Hubs](https://blowstack.com/tools/cloud-services-hub/event-hubs)**: Azure diagnostic settings can stream supported Custom Vision resource telemetry to Event Hubs for ingestion by an external monitoring pipeline.
- **[Logic Apps](https://blowstack.com/tools/cloud-services-hub/logic-apps)**: The Custom Vision connector lets a Logic Apps workflow submit an image to a published model and use the prediction in later steps. For example, a workflow can route uploaded product photos based on their predicted labels.
- **[Microsoft Defender for Cloud](https://blowstack.com/tools/cloud-services-hub/microsoft-defender-for-cloud)**: Defender for Cloud evaluates the security posture of Custom Vision accounts through its Azure AI services recommendations. It can surface configuration risks such as public network access.
- **[Microsoft Entra ID (formerly Azure AD)](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-id-(formerly-azure-ad))**: Microsoft Entra ID authenticates users who sign in to Custom Vision. A Custom Vision training account can also use an Entra-backed managed identity to write model backups and notifications to Azure Storage without using storage account keys.

## What is Azure AI Custom Vision

Azure AI Custom Vision lets engineers build image recognition models without implementing a training framework or managing training infrastructure. A project contains labeled images, a task configuration, and trained model iterations. Image classification assigns labels to an entire image, while object detection identifies individual objects and returns their labels, confidence scores, and bounding boxes. Classification projects can use multiclass classification for mutually exclusive categories or multilabel classification when multiple categories can apply to one image.

Microsoft has announced that Custom Vision will retire on September 25, 2028, and will provide full support for existing customers until that date. Existing deployments should include a migration plan covering training data, annotations, prediction interfaces, and model evaluation. Azure Machine Learning AutoML is a recommended alternative for custom image classification and object detection. Migration requires rebuilding and validating the training and serving workflow; it should not be treated as a simple endpoint replacement.

The normal development workflow is to create training and prediction resources, create a project, choose an appropriate domain, and upload labeled images through the Custom Vision portal or training API. Classification requires image-level tags; object detection requires labeled bounding boxes. Around 50 images per label is a useful starting point, not a guarantee of production quality. Include representative lighting, viewpoints, backgrounds, and negative examples, and maintain a separate evaluation dataset that reflects deployment conditions.

Training creates an iteration that can be evaluated before publication. Fast training supports short development cycles, while advanced training allows a compute-time budget for exploring training configurations. Review precision and recall at thresholds appropriate to the application rather than relying on a single aggregate score. Confidence scores are not guarantees of correctness, so applications should define behavior for uncertain predictions, unexpected inputs, and human review.

For hosted inference, publish a selected iteration to a prediction resource and call it using the project identifier, published model name, endpoint, and appropriate credentials. Keep training credentials out of client applications. Validate image formats and payload sizes before sending requests; documented limits include 6 MB for training uploads and 4 MB for prediction images. Apply bounded concurrency and retry throttled requests with backoff, because paid prediction capacity still has transaction-rate limits.

Compact domains support exporting models for local execution in supported formats. Export availability depends on the selected domain and target, and compact models can trade accuracy for smaller size and lower resource requirements. Local inference is useful for intermittent connectivity or latency-sensitive applications, but engineers must manage runtime compatibility, packaging, updates, and device monitoring. Custom Vision processes individual images rather than providing a video ingestion pipeline, so video applications must extract and schedule frames themselves. It is optimized for visible differences and should be evaluated carefully before use for subtle defects such as small cracks or dents.
