Skip to main content

SenseCraft Model Assistant

SenseCraft Model Assistant

Seeed Studio SenseCraft Model Assistant is an open-source project focused on embedded AI. We have optimized excellent algorithms from OpenMMLab for real-world scenarios and made implementation more user-friendly, achieving faster and more accurate inference on embedded devices. With SenseCraft Model Assistant we can easily get-started with tinyML project and work on it. Let's get started.

1. Get started with Face Recognition.

We flash the SenseCraft Model Assistant program in advance for all XIAO ESP32S3 Sense participating in the Workshop, and pre-set the model for face recognition. Simply connect the XIAO ESP32S3 Sense to your PC via a data cable to instantly display face recognition.

Step 1. Install XIAO ESP32S3 Sense expansion board

First, we need to properly connect the XIAO ESP32S3 Sense expansion board to the XIAO. Installing the expansion board is very simple, you just need to align the connector on the expansion board with the B2B connector on the XIAO ESP32S3, press it hard and hear a "click", the installation is complete.

Step 2. Connecting the XIAO to your PC

Connect the XIAO to your PC using a data cable with data transfer function.

Step 3. Go to the SenseCraft Model Assistant page and connect the XIAO

Click the button below to go to the SenseCraft Model Assistant homepage.


Once we are on the homepage of SenseCraft Model Assistant, we need to first need to connect the XIAO ESPS3 for that, click Connect button.

The browser will then pop up a window. We need to select the correct port for XIAO here. For Windows, this port usually starts with COM, and in case of MacOS, this port usually starts with /dev/tty. And it will have the words USB JTAG.

Clicking the Connect button will only result in an automatically identify the board and configuration information is being read.

Once the Connect button is back to Red as Disconnect, we can select the model from the "Ready to use AI Models" list. Here I selected the face recognition for demo. After selecting it, click the Send button and wait few second.

Finally, we come to the Preview section, click once on Stop in the upper right corner, and then click Invoke, if everything runs smoothly, you can see the real-time screen effect.

2. SenseCraft Triggers - Control things with tinyML

We can also make conditions statements using the SenseCraft tool. for example: we can control XIAO-ESP32S3 onboard LED when a face is detected. For that, go to Output section and Select the "Trigger action" to setup a trigger. .

Here, When the face detection have confidencet above 50% and enable a trigger.

And here the Trigger Action is "Light up the LED". Ater that, click "Send" and you can see, whenver the face detected, you can see the onboard LED is turned on.

3. More Custom Prebuild Models

tip

In addition to the face models prepared in advance, we are also supporting more models for XIAO ESP32S3, so stay tuned!

SenseCraft comes with various inbuilt models, you can try few other models and experiment.

  • Face Detection

    Preview:

  • Digital Meter Water

    Preview:

  • yolov5 Meter Water

    Preview:

Models Usage

If you want to use a custom model, follow the instructions below

Step 1. Select the Models listed on "Ready to use AI models"

Here I selected the water meter reading demo. After selecting it, click the Send button and wait few second.

Finally, we come to the Preview section, click once on Stop in the upper right corner, and then click Invoke, if everything runs smoothly, you can see the real-time screen effect.


ToDo

  • Load and Run Face Recognition Model with SenseCraft Model Assistant.
  • Setup a Trigger and Control LED with SenseCraft Model Assistant.
tip

If you also want to experience this water meter that generates readings automatically, you can download the zip package by clicking here, unzip it and then double click to open the html file in the root directory.

Loading Comments...