skillfed

azure-cognitiveservices-vision-customvision

Microsoft Azure Custom Vision Client Library for Python

azure-cognitiveservices-vision-customvision v3.1.1 108.2K downloads/30d#12,571 on PyPI5,588
Permissive license MIT License Active released

What it is and what it does

This is the official Python SDK for Microsoft Azure's Custom Vision service, allowing developers to programmatically train image classification and object detection models without writing machine learning code from scratch. The package wraps Azure's REST API, providing client classes for both training (building and managing models) and prediction (running inference on trained iterations). It depends on msrest, azure-common, azure-mgmt-core, and azure-cognitiveservices-vision-nspkg to handle authentication, HTTP communication, and Azure SDK conventions.

The package has been deprecated as of 11-01-2024 and will no longer receive maintenance or feature updates after that date. If you are starting a new project, Microsoft recommends migrating to a newer Azure Vision service SDK. Existing projects using this package will continue to work, but you should plan for eventual migration or accept that you will not receive updates beyond security patches.

Use it for:

  • Train a custom image classifier to recognize specific product types in retail inventory photos.
  • Build an object detection model to locate and count items in warehouse or manufacturing environments.
  • Programmatically manage multiple Custom Vision projects and iterations without using the web portal.
  • Export trained models for deployment to edge devices or containers as part of a CI/CD pipeline.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to train and deploy custom image classification and object detection models using Microsoft Azure's Custom Vision service.

No—do not install for new projects. The package is deprecated and will receive no maintenance after 11-01-2024. If you have an existing project already using this SDK, it will continue to work, but you should plan a migration to a current Azure Vision SDK. For new work, use a supported Azure SDK or alternative vision service.

Install

azure-cognitiveservices-vision-customvision on PyPI

pip

pip install azure-cognitiveservices-vision-customvision

uv

uv add azure-cognitiveservices-vision-customvision

poetry

poetry add azure-cognitiveservices-vision-customvision

Installing azure-cognitiveservices-vision-customvision

Before you install

Low install friction with four stable Azure dependencies. However, the package is deprecated as of 11-01-2024 and will receive only security fixes—no new features or maintenance beyond that date.

License in practice

MIT License permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license text.

Quickstart

pip install azure-cognitiveservices-vision-customvision

from azure.cognitiveservices.vision.customvision.training import CustomVisionTrainingClient
from msrest.authentication import ApiKeyCredentials

credentials = ApiKeyCredentials(in_headers={"Training-key": "your-key"})
client = CustomVisionTrainingClient(endpoint, credentials)

Requires a valid Azure Custom Vision endpoint URL and API key; credentials must be wrapped in msrest.authentication.ApiKeyCredentials, not passed as a plain string.

Verify before relying

  • Whether security fixes will continue to be released after 11-01-2024 or if the package will be completely frozen.
  • Whether the deprecated status affects Azure's support for existing projects trained with this SDK.

Package facts

License MIT License (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 4 — msrest, azure-common, azure-mgmt-core, azure-cognitiveservices-vision-nspkg
Maintenance actively maintained — 651 days since the last release
Last repo commit
First released
Downloads 108,166/month — #12,571 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_cognitiveservices_vision_customvision-3.1.1-py2.py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 7 - InactiveLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

azure custom vision sdkimage classification training apiobject detection azurecustom vision python clientazure cognitive services vision
deprecatedazure-sdkcomputer-vision

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

azure-cognitiveservices-vision-computervision

Provides Python bindings to call Microsoft…

permissive · top 15,000 on PyPI

azure-mgmt-imagebuilder

Manages Azure VM image templates and builds…

unclear · top 5,000 on PyPI

azure-mgmt-cognitiveservices

Manages Azure Cognitive Services…

unclear · top 5,000 on PyPI

azure-mgmt-advisor

Provides Python bindings to interact with Azure…

unclear · top 5,000 on PyPI

azure-mgmt-subscription

Provides Python client library for managing…

permissive · top 5,000 on PyPI

azure-ai-vision-imageanalysis

Calls Azure's Computer Vision service to…

permissive · top 15,000 on PyPI

azure-mgmt-search

Manages Azure Cognitive Search services through…

permissive · top 5,000 on PyPI

azure-mgmt-hdinsight

Manages Azure HDInsight clusters and resources…

unclear · top 5,000 on PyPI

icevision

IceVision provides a unified framework for…

permissive · top 15,000 on PyPI

azure-mgmt-managedservices

Provides Python client library for managing…

unclear · top 15,000 on PyPI