This repository provides several Python modules that are required for Google's Code Next - Edge ML Club projects, including starter script files for those projects.
-
Download this Raspberry Pi image and flash it onto your SD card. If you're not familiar with flashing, follow these steps:
-
Plug in a microSD card to a desktop/laptop computer (you might need an SD card adapter).
-
On the same computer, install the Raspberry Pi Imager.
-
Open the Raspberry Pi Imager, click Choose OS, then scroll down and click Use custom.
-
In the window that appears, select the ZIP file you downloaded in the first step above (the filename starts with "codenext").
-
Back in the Raspberry Pi Imager, click Choose SD Card, and select your microSD card.
-
Now click Write to begin flashing the card.
-
-
When flashing is complete, insert the SD card into your Raspberry Pi and power it on.
-
Connect a USB camera and Coral USB Accelerator to the blue USB ports on your Raspberry Pi. (The blue ports are USB 3.0, the others are 2.0.)
-
On the Raspberry Pi, download this Git repository by opening the Terminal application and running this command:
git clone https://github.com/CodeNextAdmin/edge_ml_club
-
Enter the directory and download some required files:
cd edge_ml_club make download
-
Now run the
test.py
script to be sure the camera and accelerator are working:python3 test.py