Installation

Run the command below to install various packages related to azure cognitive services. You can also create a virtual environment and then install the packages.

Below is the list of cognitive services, their corresponding packages, and the commands to install them.

Azure computer vision

To work with the azure computer vision-related services, you need to install azure-cognitiveservices-vision-computervision and pillow packages. To install, you can run the commands mentioned below:

pip install azure-cognitiveservices-vision-computervision
pip install pillow

Azure custom vision

To work with the azure custom vision-related services, you need to install azure-cognitiveservices-vision-customvision package. To install, you can run the commands mentioned below:

pip install azure-cognitiveservices-vision-customvision

Azure face API

To work with the azure face API service, you need to install azure-cognitiveservices-vision-face and pillow packages. To install, you can run the commands mentioned below:

pip install azure-cognitiveservices-vision-face
pip install pillow

Azure language understanding (LUIS)

To work with the azure language understanding (LUIS) service, you need to install azure-cognitiveservices-language-luis package. To install, you can run the command mentioned below:

pip install azure-cognitiveservices-language-luis

Azure QnA maker

To work with the azure QnA Maker service and the knowledge bases, you need to install azure-cognitiveservices-knowledge-qnamaker==0.2.0 package. To install, you can run the command mentioned below:

pip install azure-cognitiveservices-knowledge-qnamaker==0.2.0

Azure text analytics

To work with the azure text analytics service, you need to install azure-ai-textanalytics==5.1.0 package. To install, you can run the command mentioned below:

pip install azure-ai-textanalytics==5.1.0

Azure speech

To work with the azure speech service, you need to install azure-cognitiveservices-speech package. To install, you can run the command mentioned below:

pip install azure-cognitiveservices-speech

Azure anomaly detector

To work with the azure anomaly detectors service, you need to install azure-ai-anomalydetector package. To install, you can run the command mentioned below:

pip install azure-ai-anomalydetector

Azure content moderator

To work with the azure content moderator service, you need to install azure-cognitiveservices-vision-contentmoderator package. To install, you can run the command mentioned below:

pip install azure-cognitiveservices-vision-contentmoderator

Azure personalizer

To work with the azure personalizer service, you need to install azure-cognitiveservices-personalizer package. To install, you can run the command mentioned below:

pip install azure-cognitiveservices-personalizer

Requests package

To work with the requests package and the azure bing service, you need to install requests package. To install, you can run the command mentioned below:

pip install requests

Get hands-on with 1200+ tech skills courses.