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.