Add program to collect image files for imprinting

Change-Id: I1f9b6111c1cc0d523c256b571dd358cd2f731bda
2 files changed
tree: 26d02280172998745e89c3b4fcb3e788248366b7
  1. .gitignore
  2. Makefile
  3. README.md
  4. audio_recorder.py
  5. bestiary.py
  6. collect_images.py
  7. mel_features.py
  8. raspimon_eats.py
  9. raspimon_sees_faces.py
  10. raspimon_sees_things.py
  11. test.py
  12. vision.py
  13. vision_example.py
  14. voice.py
  15. voice_example.py
README.md

Edge ML Club materials

This repository provides several Python modules that are required for the Edge ML Club projects, including starter script files for those projects.

TODO: Update the RPI image URL and git clone URL below with final version.

Get started

  1. Download this Raspberry Pi image and flash it onto your SD card. If you're not familiar with flashing, follow these steps:

    1. Plug in a microSD card to a desktop/laptop computer (you might need an SD card adapter).

    2. On the same computer, install the Raspberry Pi Imager.

    3. Open the Raspberry Pi Imager, click Choose OS, then scroll down and click Use custom.

    4. In the window that appears, select the ZIP file you downloaded in the first step above (the filename starts with “codenext”).

    5. Back in the Raspberry Pi Imager, click Choose SD Card, and select your microSD card.

    6. Now click Write to begin flashing the card.

  2. When flashing is complete, insert the SD card into your Raspberry Pi and power it on.

  3. 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.)

  4. On the Raspberry Pi, download this Git repository by opening the Terminal application and running this command:

    git clone https://coral.googlesource.com/codenext-raspimon
    
  5. Enter the directory and download some required files:

    cd codenext-raspimon
    
    make download
    
  6. Now run the test.py script to be sure the camera and accelerator are working:

    python3 test.py