Azure Custom Vision allows you to create models which can classify and detect items in images. You could use this to detect a breed of dog, if someone is wearing a helmet, or the presence of other features. While this could be done by using code and manually processing the images, Custom Vision provides a web-based interface and tooling to streamline the process. No prior knowledge of machine learning or math is required!
Over the course of this workshop you will build a model to detect dog breeds. You'll start by installing and configuring the necessary tools, then creating the custom model by uploading and tagging images, and finally use the model with a software development kit (SDK).
Project Goal | Learn about Custom Vision AI and how to use it to train and test images |
---|---|
What will you learn | Use images to train a model to be able to perform inference to classify images |
What you'll need | Python 3.8+, Visual Studio Code, Git |
Duration | 1 hour |
Slides | Powerpoint |
Authors | Christopher Harrison, Nandun Diaz |
This workshop assumes core knowledge of Git, specifically the ability to clone a repository. During the workshop you will download the code from GitHub. You will need either Git to clone the repository.
You will build a project using Python. Basic knowledge of Python is assumed, specifically the ability to import packages and use open
and with
. You will also need Python installed locally. To test if you have Python and pip installed, open a command or terminal window and run the following commands.
python3 --version
pip3 --version
If Python and pip are installed a version number will be displayed, such as 3.8.10. Otherwise, an error message is displayed. You can install Python and pip as needed:
The instructions for this workshop assume you are using Visual Studio Code, an open source code editor. You will also need the Pylance extension, which will provide additional functionality when writing Python.
- Part 0: Install and configure tools
- Part 1: Train your model
- Part 2: Test your model
- Part 3: Create and Deploy the app
Be sure to give feedback about this workshop!