Goal 0: Set up your PC or Mac¶
If you don’t have a Raspberry Pi to use, you can simulate one using your PC or Mac, with a built in or external web cam.
Configure your OS¶
The code will use OpenCV to capture images from your camera, so you will need to install this.
- On Windows, OpenCV is installed when the Python library is installed later in this workshop.
- On macOS, it is recommended to use HomeBrew to install OpenCV.
- On Linux, it is recommended to use HomeBrew to install OpenCV.
You can find out more in the Introduction to OpenCV documentation.
The code for the IoT device is Python, so you will need to have a recent version of Python installed. You can install this from the Python downloads page if you don’t already have it installed.
Next challenge¶
Once your PC or Mac is ready, it’s time to train the ML model.