Configuring Model Output on SenseCraft AI for Grove Vision AI V2
This wiki article provides a comprehensive guide on how to configure model output settings for the Grove Vision AI V2 device using the SenseCraft AI platform. By following these step-by-step instructions, you will learn how to set up trigger conditions and actions based on the output of your trained model running on the Grove Vision AI V2.
Prerequisites
Before you begin, ensure that you have the following:
Grove Vision AI V2 device
USB-C cable for connecting the Grove Vision AI V2 to your computer
Grove Vision AI V2 |
---|
Step 1. Access the SenseCraft AI Vision Workspace and connect the Grove Vision AI V2
Open your web browser and navigate to the SenseCraft AI Vision Workspace page.
From the list of available devices, select the Grove Vision AI V2.
Using the USB-C cable, connect your Grove Vision AI V2 device to your computer. Once the device is connected, click the Connect button located in the top-left corner of the SenseCraft AI Vision Workspace page.
Step 2. Ensure a Model is Loaded on the Grove Vision AI V2
Before proceeding, ensure that your Grove Vision AI V2 device has a trained model deployed on it. If you haven't deployed a model yet, refer to the SenseCraft AI documentation for instructions on how to train and deploy models to your device.
If you want to use your own trained model, you can refer to the following two Wikis.
Step 3. Access the Output Configuration Settings
In the left sidebar of the Vision Workspace page, click on the Output option to access the output configuration settings for your Grove Vision AI V2 device.
On the right side of the page, click the Trigger action when event conditions are met button.
A dialog box will appear, prompting you to input various parameters that will serve as the trigger conditions for the desired actions. These parameters include:
Object: Specify the object that your model should detect to trigger the action. For example, "person" if you want the action to occur when a person is detected.
Condition: Choose the condition that must be met for the trigger to occur. Options include "Greater than", "Less than", "Equal to", etc. For instance, selecting "Greater than" means the action will be triggered when the detected object's confidence level is greater than the specified value.
Confidence: Set the minimum confidence level required for the object detection to trigger the action. This value ranges from 1 to 100, with 100 being the highest confidence.
After configuring the desired trigger conditions, click the Confirm button to save the settings.
Step 4. Select the Desired Trigger Actions
The Grove Vision AI V2 supports two types of trigger actions:
Light up the LED: When this option is selected, the onboard LED on the Grove Vision AI V2 will light up when the trigger conditions are met.
Save image to the SD Card: When this option is selected, the Grove Vision AI V2 will save the captured image to the MicroSD card inserted in the device when the trigger conditions are met.
Select the checkbox next to the desired trigger action(s) to enable them.
Step 5. Send the Trigger Configuration to Grove Vision AI V2
Finally, click the Send button to transmit the trigger configuration to your Grove Vision AI V2 device.
The Grove Vision AI V2 will now execute the configured trigger actions when the specified conditions are met, providing a visual indication of the model's output.
Keep in mind that the output functionality relies on the web-based connection between the SenseCraft AI platform and your Grove Vision AI V2 device. If the connection is lost or interrupted, the configured trigger actions will stop working. Ensure a stable connection throughout the process.
Conclusion
By following this step-by-step guide, you have learned how to configure model output settings and trigger actions on the SenseCraft AI platform for the Grove Vision AI V2 device. You can now set up your device to perform specific actions, such as turning on the onboard LED or saving captured images, based on the output of your trained model. This functionality enables you to create interactive applications and projects using the Grove Vision AI V2 and SenseCraft AI. Remember to maintain a stable connection between the web platform and your device for seamless operation.
The Grove Vision AI V2 is still essentially an AI camera sensor, so we can't expect to do much more than sensor stuff with it. If you have an extra MCU, you can do more interesting projects with the Grove interface or Pin to Pin interface, SenseCraft AI is just a medium to deliver the model, for more Arduino routines on the Grove Vision AI V2 model, please refer to Getting Started with Grove Vision AI V2.
Tech Support & Product Discussion
Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.