Skip to content

Commit 743fa5c

Browse files
committed
added image
1 parent 656de88 commit 743fa5c

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

_docs/tutorials/demos/edgeimpulse_demo/index.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ redirect_from:
1010

1111
![Edge Impulse](ei_logo.png)
1212

13-
This example demonstrates how to run an image classification neural network (built using Edge Impulse) on the Arduino Portenta H7 and publish the classification results using micro-ROS. The tutorial also shows how to add custom message types to micro-ROS and ROS 2. The motivation behind this demo is to offer a way to add AI functionality to ROS 2 robots without bogging down the main computational unit with additional neural nets. This is especially helpful when the offloading of computational tasks to a companion laptop (for instance) is not an option.
13+
---
14+
15+
This example demonstrates how to run an image classification neural network (built using [Edge Impulse](https://www.edgeimpulse.com/)) on the [Arduino Portenta H7](https://store.arduino.cc/products/portenta-h7) and publish the classification results using micro-ROS. The tutorial also shows how to add custom message types to micro-ROS and ROS 2. The motivation behind this demo is to offer a way to add AI functionality to ROS 2 robots without bogging down the main computational unit with additional neural nets. This is especially helpful when the offloading of computational tasks to a companion laptop (for instance) is not an option.
1416

1517
With this approach the MCU publishes inference results using a custom message type `EIResult` (Edge Impulse result), which is made up of multiple `EIClassification` items. The tutorial associated with this demo explains how to go about adding these custom message types. A single classification looks like this:
1618

@@ -29,5 +31,11 @@ It contains all labels and their probabilities (together summing to 1). The size
2931

3032

3133

34+
By running neural networks on MCUs and publishing their inferences using micro-ROS it becomes straightforward to experiment with a "distributed" approach to AI in robotics, where the central computer is concerned only with the results of the neural networks and not with sensor data ingest nor calculation.
35+
36+
![Traditional vs distributed approach](traditional_vs_distributed.png)
37+
38+
---
39+
3240

3341
To run this demo yourself check out the video walk through and instructions given in [this repository](https://github.com/avielbr/micro_ros_ei).
238 KB
Loading

0 commit comments

Comments
 (0)