Azure Cognitive Services modules for Python

Add image and face recognition, language analysis, and search to your Python apps, websites, and tools using the Azure Cognitive Services modules for Python.

Vision modules

Computer Vision

Returns information about visual content found in an image:

  • Use tagging, descriptions, and domain-specific models to identify content and label it with confidence.
  • Apply adult/racy settings to enable automated restriction of adult content.
  • Identify image types and color schemes in pictures.

Try Computer Vision for free in your browser.

Get the Python module with pip:

pip install azure-cognitiveservices-vision-computervision

Learn more about the Computer Vision API and get started with the Computer Vision API Python quickstart.

Content Moderator

Machine-assisted moderation of text, video and images, augmented with human review tools.

Get the Python module with pip:

pip install azure-cognitiveservices-vision-contentmoderator

Learn more about the Content Moderator service.

Custom Vision Service

Upload images to train and customize a computer vision model for your specific use case. Once the model is trained, you can use the API to tag images using the model and evaluate the results to improve your classifier.

Get the Python module with pip:

pip install azure-cognitiveservices-vision-customvision

Learn more about the Custom Vision service and get started with the Custom Vision Python tutorial

Face API

Detect, identify, analyze, organize, and tag faces in photos.

Try the Face API in your browser.

Get the Python module with pip:

pip install cognitive-face

Learn more about the Face API and get started with the Face API Python quickstart.

Search modules

Retrieve web documents indexed by the Bing Web Search API and narrow down the results by result type, freshness and more.

Try the Web Search API in your browser.

Get the Python module with pip:

pip install azure-cognitiveservices-search-websearch

Learn more about the Bing Web Search API and get started with the Web Search API Python quickstart.

Search for images and get thumbnails, full image URLs, image metadata and more in your results.

Try the Image Search API in your browser.

Get the Python module with pip:

pip install azure-cognitiveservices-search-imagesearch

Learn more about the Bing Image Search API and get started with the Image Search API Python quickstart.

Search for the most relevant entity (place, person, or thing) for a given search term or location.

Try the Entity Search API in your browser.

Get the Python module with pip:

pip install azure-cognitiveservices-search-entitysearch

Learn more about the Bing Entity Search API and get started with the Entity Search API Python quickstart.

Build and a custom web search that meets your specific search domain.

Get the Python module with pip:

pip install azure-cognitiveservices-search-customsearch

Learn more about the Bing Custom Search service and get started with querying your custom search from Python with the Custom Search API Python quickstart.

Find videos across the web and get results with creator, encoding, length, and view count metadata.

Try the Video Search API in your browser.

Get the Python module with pip:

pip install azure-cognitiveservices-search-videosearch

Learn more about the Bing Video Search service and get started with the Video Search API Python quickstart.

Search the web for news articles and work with article, related news, images, and provider info metadata.

Try the News Search API in your browser.

Get the Python module with pip:

pip install azure-cognitiveservices-search-newssearch

Learn more about the Bing News Search service and get started with the News Search API Python quickstart.

Language modules

Text Analytics

The Text Analytics API is a cloud-based service that provides natural language processing over raw text. The API includes three main functions:

  • Sentiment analysis
  • Key phrase extraction
  • Language detection

Try the Text Analytics API in your browser.

Get the Python module with pip:

pip install azure-cognitiveservices-language-textanalytics

Learn more about the Text Analytics API and get started with the Text Analytics API Python quickstart.

Language Understanding

The LUIS API provides you with natural language understanding capabilties like intent recognition and relevant entity extraction from user utterances.

Try LUIS API in your browser.

Get the Python module with pip:

pip install azure-cognitiveservices-language-luis

Learn more about the LUIS and get started with the LUIS SDK quickstart.

Spell Check

Perform contextual grammar and spell checking with the Bing Spell Check API.

Try the Spell Check API in your browser.

Get the Python module with pip:

pip install azure-cognitiveservices-language-spellcheck

Learn more about the Spell Check API and get started with the Spell Check API Python quickstart.