Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cv-workshop-example

This repository contains a complete App for the Arduino App Lab.

The App demonstrates how to run inference on a live camera feed, using the Video Object Detection brick, paired with a an AI model (default is face detection, more available to choose from in the Arduino App Lab).

Hardware Required

  • Arduino UNO Q
  • USB-C hub
  • USB-C cable for powering the hub (e.g. via computer USB port)
  • Generic USB web camera

Example

The code for the example is available in the object-detection-example folder. The .zip file is also available so that you can directly import it into Arduino App Lab.

How to Use It

Clone this repository and follow the steps below:

  1. Download Arduino App Lab
  2. Connect your Arduino UNO Q to the computer via USB-C. The first setup requires a USB-C connection, where you will be configuring Linux OS password as well as Wi-Fi credentials.
  3. After first configuration is completed (you may need to update the board too), disconnect the board from the computer.
  4. Connect the USB-C hub to the UNO Q, connect the camera to the USB hub and power the USB hub, following the image below: Hardware Setup
  5. Launch Arduino App Lab again, and select the board. If the board is on the same network, it should appear.
  6. Click "Create New App" (top right corner) and import the .zip found in this repository.

Important note. Do not import the whole repository: only the .zip file inside it!

  1. Launch the app.
  2. A browser window will automatically open at <board-ip>:7000 where the UI of the camera will be displayed.
  3. The confidence will be displayed in % on the LED Matrix on the UNO Q, demonstrating the communication between the QRB2210 MPU and the STM32 MCU.

Percentage displayed

Example Documentation

A more detailed explanation of the example is provided in the examples README.md located inside the obejct-detection-example folder.

Reference

This example is based on the Detect Objects on Camera example.

About

Code example for sending inference data to the MCU on an UNO Q

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages