-
Notifications
You must be signed in to change notification settings - Fork 5
/
chapter_4-1.qmd
242 lines (141 loc) · 28.3 KB
/
chapter_4-1.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
# 4.1 Understanding TinyML and Edge Impulse Studio {.unnumbered}
<br />
This section will explain embedded machine learning, the differences between TinyML and other artificial intelligence, and some essential applications. This section will help you understand what TinyML is and why we need it. Edge Impulse Studio is one of the tools that allows developers to create next-generation intelligent device solutions through embedded machine learning. This section will introduce you to this tool and help you understand the basic steps to build an embedded machine-learning model.
## 4.1.1 Common Terms
In addition to TinyML, we often hear conceptually similar terms such as edge computing, edge AI, embedded machine learning, etc. So, before learning TinyML, you need to understand these terms and their meanings.
### 4.1.1.1 Embedded Systems
An embedded system is a computer used only to solve a few particular problems and is challenging to change. The term "embedded" means that it is built into the system. It is a permanent part of the more extensive system. It usually doesn't look like a computer; in most cases, it doesn't have a keyboard, monitor, or mouse. But like any computer, it has a processor, software, input, and output.
Embedded systems are computers controlling various physical and electronic devices, and now they are almost everywhere. From the Bluetooth headphones you use, home audio-visual equipment, game consoles, air conditioners, sweeping robots, rice cookers, and washing machines to the control units of electric vehicles to communication equipment, factory equipment, medical equipment, office places, and even military equipment, almost any electrically driven device has the presence of embedded systems. Embedded software is the software running on them, and the following figures show some scenes where you can see embedded systems.
![](imgs_4-1/tinyML_app.jpg)
Embedded systems can be large or small, as small as the microcontroller controlling the digital watch and as large as the embedded computer in the autonomous car. Unlike general-purpose computers such as laptops or smartphones, embedded systems usually perform a specific specialized task.
> 🔍 Do some research: <br />
> Look around you, what devices might have embedded systems in them?
The size and complexity of embedded systems vary, but they all contain three basic components:
- **Hardware:** These systems use microprocessors and microcontrollers as their hardware. Microprocessors are similar to microcontrollers because they are both related to CPUs (central processing units), and CPUs are combined with other essential computer parts (such as storage chips and digital signal processors (DSPs)). Microcontrollers integrate all these parts into a single chip.
- **Firmware and Software:** The complexity of the system software differs from industrial-grade microcontrollers and embedded IoT systems, on the other hand, they usually run relatively basic software, using very little memory.
- **Real-Time Operating System (RTOS):** These systems, especially the more minor, often do not include these operation systems. By supervising software during program execution and establishing standards, RTOS determines how the system operates.
Embedded systems are often also constrained by their deployment environment. For example, many embedded systems need to run on battery power. Hence, their design needs to consider energy efficiency metrics - perhaps memory is limited, or the clock speed is extremely slow.
The challenge for engineers programming for embedded systems is often implementing functional requirements within these limited hardware and environmental resource constraints. You must consider hardware resource constraints when learning to build your TinyML project model for XIAO later.
### 4.1.1.2 Edge Computing and Internet of Things (IoT)
The concept of "Edge" is relative to the "Center." In the early days, computers like the ENIAC (Electronic Numerical Integrator and Computer), built in 1945, were massive, weighing nearly 30 tons and occupying 170 square meters.
<!-- ![Staff programming the ENIAC.](https://cdn.nlark.com/yuque/0/2022/png/2392200/1669787958397-b0738e09-5cbf-457e-aa1f-9e23987dc5c0.png#averageHue=%237b7b7b&clientId=uec706add-a4a4-4&from=paste&height=489&id=XV9P7&originHeight=978&originWidth=1280&originalType=binary&ratio=1&rotation=0&showTitle=true&size=1235519&status=done&style=none&taskId=ucba0f183-2049-4313-9f22-038d5eaf80b&title=Staff%20programming%20the%20ENIAC.&width=640 "Staff programming the ENIAC.") -->
<div style="text-align:center;"><img src="https://files.seeedstudio.com/wiki/XIAO_Big_Power-Board-ebook-photo/chapter_4-1/chapter_4-1_1.png" width="500" height="auto" style="margin:0 auto" /><br /><sub>Staff programming the ENIAC</sub></div>
<br />
At this stage, computational tasks were centralized on the core machine. These large computers evolved into "minicomputers," typically consisting of a central host and multiple terminals connected to the host. Multiple users could issue computational instructions through the terminals, but most of the computation still occurred on the central host. As time passed, the terminals became more complex and took over more and more functions of the central computer.
<!-- ![The processor manual cover for the minicomputer pdp11/70, showing the host and connected terminals.](https://cdn.nlark.com/yuque/0/2022/png/2392200/1669790116465-4a27faca-2f34-4bec-b046-0c332b986d6f.png#averageHue=%2372725b&clientId=uec706add-a4a4-4&from=paste&height=707&id=MBIRd&originHeight=2317&originWidth=1553&originalType=binary&ratio=1&rotation=0&showTitle=true&size=4711339&status=done&style=none&taskId=u3e471759-f927-4a7b-ae80-d6874b69f4d&title=The%20processor%20manual%20cover%20for%20the%20minicomputer%20pdp11%2F70%2C%20showing%20the%20host%20and%20connected%20terminals.&width=474 "The processor manual cover for the minicomputer pdp11/70, showing the host and connected terminals.") -->
<div style="text-align:center;"><img src="https://files.seeedstudio.com/wiki/XIAO_Big_Power-Board-ebook-photo/chapter_4-1/chapter_4-1_2.png" width="500" height="auto" style="margin:0 auto" /><br /><sub>The processor manual cover for the minicomputer pdp11/70, <br />showing the host and connected terminals.</sub></div>
<br />
It wasn't until the advent of personal computers that computation truly expanded to the "edge." The rapid development of personal computers also led to the decline of those massive machines, and the scale of human computation quickly tilted towards the "edge."
<!-- ![The 70s Wang computer, once a world leader in market share. (Personal computer Wang 2200 PCS II. It is located in the Belgrade Museum of Technology.)](https://cdn.nlark.com/yuque/0/2022/jpeg/2392200/1669790328656-9d7afa01-96a9-4e1b-8d33-8c94e1b4628b.jpeg#averageHue=%23999b9e&clientId=uec706add-a4a4-4&from=drop&height=313&id=hJTux&originHeight=2160&originWidth=3750&originalType=binary&ratio=1&rotation=0&showTitle=true&size=745597&status=done&style=none&taskId=ud7e25da1-6ee1-4e41-ace4-9f7e21dd747&title=The%2070s%20Wang%20computer%2C%20once%20a%20world%20leader%20in%20market%20share.%20%28Personal%20computer%20Wang%202200%20PCS%20II.%20It%20is%20located%20in%20the%20Belgrade%20Museum%20of%20Technology.%29&width=543 "The 70s Wang computer, once a world leader in market share. (Personal computer Wang 2200 PCS II. It is located in the Belgrade Museum of Technology.)") -->
<div style="text-align:center;"><img src="https://files.seeedstudio.com/wiki/XIAO_Big_Power-Board-ebook-photo/chapter_4-1/chapter_4-1_3.jpg" width="500" height="auto" style="margin:0 auto" /><br /><sub>The 70s Wang computer, once a world leader in market share. (Personal computer Wang 2200 PCS II. It is located in the Belgrade Museum of Technology.)</sub></div>
<br />
The emergence and development of the Internet led to a large concentration of servers to provide a variety of data storage and computational services, search engines, streaming video, online games, social networks, etc. The highly centralized cloud computing era had arrived, and many internet service providers owned massive data center rooms.
<!-- ![Google's data center located on the outskirts of Pryor, Oklahoma, USA](https://cdn.nlark.com/yuque/0/2022/png/2392200/1669790841662-4bd2fef9-570b-4e2b-bd26-5348c6f9cc88.png#averageHue=%23546356&clientId=uec706add-a4a4-4&from=paste&height=1588&id=Gwz5j&originHeight=3176&originWidth=4255&originalType=binary&ratio=1&rotation=0&showTitle=true&size=12449732&status=done&style=none&taskId=u8f0bd84a-6138-434d-933a-cfdfcb6318c&title=Google%27s%20data%20center%20located%20on%20the%20outskirts%20of%20Pryor%2C%20Oklahoma%2C%20USA&width=2128 "Google's data center located on the outskirts of Pryor, Oklahoma, USA") -->
<div style="text-align:center;"><img src="https://files.seeedstudio.com/wiki/XIAO_Big_Power-Board-ebook-photo/chapter_4-1/chapter_4-1_4.png" width="500" height="auto" style="margin:0 auto" /><br /><sub>Google's data center located on the outskirts of Pryor, Oklahoma, USA</sub></div>
<br />
In theory, all our computing services can be completed in the cloud. But these cloud-based services are useless in many areas without internet connections or when the internet goes down.
The computers we use for work and entertainment are just some devices connected to these cloud services. As of 2021, there were as many as 12.2 billion connected devices worldwide, and we call this network of devices **IoT (Internet of Things)**. It includes everything you can and can't think of, such as mobile phones, smart speakers, connected security cameras, cars, containers, pet trackers, industrial sensors, etc.
These devices are embedded systems containing microprocessors running software written by embedded software engineers. We can also call them edge devices because they are located at the edge of the network. Computation performed on edge devices is known as **Edge Computing**. The following illustration expresses the relationship between the cloud and edge devices.
<!-- ![](https://cdn.nlark.com/yuque/0/2023/jpeg/2392200/1685439793079-cfb86c8b-7963-4643-9740-fa2aaa914650.jpeg) -->
![](https://files.seeedstudio.com/wiki/XIAO_Big_Power-Board-ebook-photo/chapter_4-1/chapter_4-1_5.jpeg)
Devices at the network edge can communicate with the cloud, edge infrastructure, and each other. Edge applications typically span multiple locations on this map. For example, data may be sent from an IoT device equipped with sensors to a local edge server for processing.
### 4.1.1.3 Artificial Intelligence (AI)
Artificial Intelligence (AI) is a vast concept and is difficult to define. In a vague sense, it's about making things possess human-like intelligence and thinking abilities. But even the definition of intelligence itself is disputed, and this is a cutting-edge field with many unknowns, which readers are welcome to explore on their own. For the convenience of understanding the following concepts, this book provides a relatively narrow definition of AI: an artificial system capable of making wise decisions based on specific inputs.
### 4.1.1.4 Machine Learning (ML)
Machine Learning (ML) primarily aims to design and analyze algorithms that allow computers to "learn" automatically. ML algorithms are a class of algorithms that automatically analyze and learn patterns from data and use these patterns to predict unknown data.
Take a typical example of machine learning---continuous motion recognition. In Section 2.4, we learned about the triaxial accelerometer. The image below shows a [Wio Terminal](https://www.seeedstudio.com/Wio-Terminal-p-4509.html) with an embedded triaxial accelerometer and screen. We can use it to record accelerometer data for several different movements: waving (wave), flipping (flip), and idling (idle).
<!-- ![](https://cdn.nlark.com/yuque/0/2023/jpeg/2392200/1685440419568-83e8d2f1-8c76-4a8a-82ab-7340460eba84.jpeg) -->
![](https://files.seeedstudio.com/wiki/XIAO_Big_Power-Board-ebook-photo/chapter_4-1/chapter_4-1_6.jpeg)
Looking at the data generated from these different movements, you can find a method for the machine to recognize these motion patterns. The traditional way involves manually analyzing and checking the data, identifying specific logical rules for different movements through mathematical analysis, and then writing a recognition program to perform the desired action based on these rules. Sounds complicated, doesn't it?
Fortunately, we now have machine learning methods. Training and testing these data will yield an algorithm, and the device only needs to run this algorithm to automatically complete our desired "inference" process and deliver results. From the current state of machine learning development, this method is exceptionally proficient in handling complex data scenarios. We will learn more about this process in subsequent sections.
### 4.1.1.5 Edge AI
As the term suggests, Edge AI combines edge devices and artificial intelligence. The development of Edge AI stems from the pursuit of lower system power consumption and higher efficiency. For example, popular smartwatches or fitness bands often have built-in accelerometers that generate hundreds of readings per second---a large volume of data---and continuous data reading is required to recognize movement states. If the recognition of movements is performed in the cloud, the smartwatch would need to consume a lot of energy to send data to the cloud, and there would usually be a delay in receiving the result. This makes the entire computational process uneconomical---high energy consumption and latency. This latency can also prevent us from effectively using data for real-time feedback.
Edge AI solves this problem by recognizing movements on the smartwatch or band itself. This allows for quick results without relying on the cloud. If necessary data needs to be uploaded to the cloud, there's no need to send a large amount of sensor data; instead, just the essential motion recognition results are sent, significantly reducing communication volume and consuming less electric power.
### 4.1.1.6 Embedded Machine Learning
Embedded Machine Learning is the art and science of running machine learning models on embedded systems. When we talk about embedded machine learning, we typically refer to machine learning inference---the process of taking input and making a prediction (for example, guessing motion status based on accelerometer data). The training part is typically still performed on traditional computers.
Furthermore, embedded systems usually have limited memory. This challenges running many machine learning models, which often have high demands for read-only memory (storing the model) and RAM (handling intermediate results generated during inference). They often need more computing capability as well. Many machine learning models are quite compute-intensive, which can also pose problems.
### 4.1.1.7 Tiny Machine Learning (TinyML)
TinyML involves implementing the inference process of machine learning on the most restricted embedded hardware, such as Micro Processor Units (MCUs), Digital Signal Processors (DSPs), and Field Programmable Gate Arrays (FPGAs).
The image below helps to understand the relationship between these terms better.
<!-- ![](https://cdn.nlark.com/yuque/0/2023/jpeg/2392200/1689667916291-6e3344f3-15d2-411d-8931-87e1657155ce.jpeg) -->
![](https://files.seeedstudio.com/wiki/XIAO_Big_Power-Board-ebook-photo/chapter_4-1/chapter_4-1_7.jpeg)
## 4.1.2 Advantages and Operation of Edge AI
For many years, the Internet of Things (IoT) has been referred to as "[machine-to-machine](https://en.wikipedia.org/wiki/Machine_to_machine)" (M2M). It involves connecting sensors and various computing devices for process automation control and has been widely adopted in industrial machinery and processes.
Machine learning offers the ability to make further progress in automation by introducing models that can make predictions or decisions without human intervention. Due to the complexity of many machine learning algorithms, the traditional integration of IoT and ML involves sending raw sensor data to a central server, which performs the necessary inference computations to generate predictions.
<!-- ![Diagram of a data flow for machine learning directly connected to sensors](https://cdn.nlark.com/yuque/0/2023/jpeg/2392200/1685598900223-310cc674-ad4b-457f-8f7b-a73c8309272f.jpeg) -->
![](https://files.seeedstudio.com/wiki/XIAO_Big_Power-Board-ebook-photo/chapter_4-1/chapter_4-1_8.jpeg)
This configuration might be acceptable for low volumes of raw data and complex models. However, several potential problems have emerged:
- Transmitting extensive sensor data (like images) can consume a lot of network bandwidth.
- Data transmission also requires power.
- Sensors must continuously connect to the server to provide near real-time machine learning computation.
Given these challenges and the rapid development of machine learning, Edge AI has begun to emerge. Jeff Bier, founder of Edge AI and Vision Alliance, outlined five factors that push artificial intelligence to the edge in his article [What's Driving AI and Vision to the Edge](https://www.eetasia.com/whats-driving-ai-and-vision-to-the-edge/) ---**BLERP**, which stands for **Bandwidth**, **Latency**, **Economics**, **Reliability**, and **Privacy**.
- **Bandwidth**: If you have a commercial greenhouse, workshop, or mall with hundreds of cameras, it's impossible to send this information to the cloud for processing---the data would choke any type of internet connection you have. You simply need to process it locally.
- **Latency**: The latency here refers to the time between the system receiving sensor input and making a response. Consider autonomous vehicles: if a pedestrian suddenly appears at a crosswalk, the car's computer might only have a few hundred milliseconds to decide. There's not enough time to send the image to the cloud and await a response.
- **Economics**: Cloud computing and communication are getting better and cheaper, but they still cost money---possibly a lot of money, especially regarding video data. Edge computing reduces the amount of data that must be sent to the cloud and the computation workload once it arrives, significantly reducing costs.
- **Reliability**: Think of a home security system with facial recognition---even if there's an internet outage, you still want it to allow your family members to enter. Local processing makes this possible and gives the system more robust fault tolerance.
- **Privacy**: The rapid development of edge audio and video sensors has caused severe privacy issues, and sending this information to the cloud dramatically increases these concerns. The more information that can be processed locally, the less potential for abuse---what happens on the edge stays on the edge.
In most cases, training a machine learning model involves a three-step process of **Model** ➡️ **Training** ➡️ **Inference**, where obtaining the model requires more intensive computation than executing inference.
- **Model**: A mathematical formula trying to generalize information from a given dataset.
- **Training**: The process of automatically updating the parameters from data within a model. This model "learns" to make conclusions and generalize about the data.
- **Inference**: Providing new, unseen data to a trained model to make predictions, decisions, or classifications.
Thus, under normal circumstances, we would rely on powerful server clusters to train new models, constructing datasets from raw data collected on-site (images, sensor data, etc.) and using this dataset to train our machine learning models.
> ⚠️ Note: <br />
> In some cases, we can train on the device side. However, this is generally unfeasible due to the memory and processing limitations of such edge devices.
Once we have a trained model, which is just a mathematical model (in the form of a software library), we can deploy it to our intelligent sensors or other edge devices. We can use this model to write firmware or software to collect new raw sensor readings, perform inferences, and take actions based on these inference results, as shown in the figure below. These actions could be self-driving cars, moving robotic arms, or sending notifications to users about engine failures. Since inference is performed locally on the edge device, the device does not need to maintain a network connection (the optional connection is shown as a dotted line in the chart).
<!-- ![](https://cdn.nlark.com/yuque/0/2023/jpeg/2392200/1685604793484-323f2e35-7e15-4575-9452-b7d16506f98f.jpeg) -->
![](https://files.seeedstudio.com/wiki/XIAO_Big_Power-Board-ebook-photo/chapter_4-1/chapter_4-1_9.jpeg)
## 4.1.3 Applications of Edge AI
Running machine learning models on edge devices without staying connected to a more powerful computer opens up possibilities for various automated tools and more intelligent IoT systems. Here are a few examples of edge AI enabling innovation in multiple industries.
<!-- ![Benjamin Cabé used TinyML technology to create an artificial nose that distinguishes between various distinct smells.](https://cdn.nlark.com/yuque/0/2022/png/2392200/1669859508561-c986cbe9-1995-4fb6-8d2f-08e2de054224.png#averageHue=%237d8079&clientId=u136d6ec0-b1ed-4&from=paste&height=368&id=Qmmm5&originHeight=736&originWidth=1230&originalType=binary&ratio=1&rotation=0&showTitle=true&size=1240004&status=done&style=none&taskId=ud3c86a12-17d0-4bc0-85b8-a9cb461f55a&title=Benjamin%20Cab%C3%A9%20used%20TinyML%20technology%20to%20create%20an%20artificial%20nose%20that%20distinguishes%20between%20various%20distinct%20smells.&width=615 "Benjamin Cabé used TinyML technology to create an artificial nose that distinguishes between various distinct smells.") -->
<div style="text-align:center;"><img src="https://files.seeedstudio.com/wiki/XIAO_Big_Power-Board-ebook-photo/chapter_4-1/chapter_4-1_10.png" width="500" height="auto" style="margin:0 auto" /><br /><sub>Benjamin Cabé used TinyML technology to create an artificial nose that <br /> distinguishes between various distinct smells.</sub></div>
#### **Environmental Protection**
- Smart grid monitoring to detect faults in power lines early
- Wildlife tracking and behavior research
- Forest fire detection and early warning
#### **Agriculture**
- Precision weeding, fertilization, pesticide application, or irrigation
- Automatic recognition of irrigation needs
- Automatic recognition of crop status and disease/insect infestation conditions
#### **Smart Buildings**
- Monitoring of intrusions and recognition of abnormal states
- Air conditioning systems that adapt based on the number of people in a room
#### **Health and Sports**
- Wearable devices that track sleep and exercise conditions
- Portable medical devices
- Gesture recognition
#### **Human-Machine Interaction**
- Voice activation word detection
- Gesture and device motion recognition for auxiliary control
#### **Industry**
- Automatic safety helmet detection
- Machine, equipment, and facility condition monitoring
- Production line defect detection
- Position and motion state detection
The computational power typically required to perform machine learning inference at the edge is often more significant than simply polling sensors and transmitting raw data. However, locally, achieving such computations requires less power than sending raw data to a remote server.
The following table provides some suggestions on the type of hardware needed to perform machine learning inference at the edge, depending on the required application.
[Source: <https://docs.edgeimpulse.com/docs/concepts/what-is-edge-machine-learning>]
| | | | | **XIAO for this kind of task** | | |
|-----------|-----------|-----------|-----------|-----------|-----------|-----------|
| | | **Low-End MCU** | **High-End MCU** | **NPU**<br /> (Neural Network Processor) | **MPU** (Microprocessor) | **GPU** (Graphics Processor) |
| | **Task** | Sensor Fusion Classification | Audio Classification | Image Classification | Complex Images or Sound and simple Videos | Video Classification |
| | **Memory** | 18KB | 50KB | 256KB | 1MB+ | 1GB+ |
| | **Sensors** | ✅ | ✅ | ✅ | ✅ | ✅ |
| | **Audio** | | ✅ | ✅ | ✅ | ✅ |
| | **Images** | | | ✅ | ✅ | ✅ |
| | **Videos** | | | | ✅ | ✅ |
| | | | | | | |
| | **XIAO** | **nRF52840 Sense** | **nRF52840 & ESP32S3 Sense** | **ESP32S3 Sense** | **ESP32S3 Sense** | ----------------- |
> Embedded hardware is also rapidly evolving, and it's expected that the contents of this table will change soon.
## 4.1.4 Introduction to Edge Impulse Studio
[Edge Impulse](https://www.edgeimpulse.com/) was founded by Zach Shelby and Jan Jongboom in 2019. It is the leading edge device machine learning development platform. This platform allows developers to create and optimize solutions with real-world data, making the process of building, deploying, and scaling embedded ML applications more accessible and faster than ever before.
<!-- ![Logo of Edge Impulse.](https://cdn.nlark.com/yuque/0/2022/png/2392200/1669863753560-102d2338-7163-4b53-9574-fdcdc3a3cc97.png#averageHue=%23d4cfcd&clientId=ufd8f6c76-4166-4&from=drop&height=69&id=OD5Qb&originHeight=613&originWidth=3634&originalType=binary&ratio=1&rotation=0&showTitle=true&size=50874&status=done&style=none&taskId=u3a7d186c-272c-4ebb-8fb9-41a2c57ab88&title=Logo%20of%20Edge%20Impulse.&width=409 "Logo of Edge Impulse.") -->
<div style="text-align:center;"><img src="https://files.seeedstudio.com/wiki/XIAO_Big_Power-Board-ebook-photo/chapter_4-1/chapter_4-1_11.png" width="500" height="auto" style="margin:0 auto" /><br /><sub>Logo of Edge Impulse.</sub></div>
<br />
You can visit [Edge Impulse's official website](https://edgeimpulse.com/) for more information about this tool and check the official documentation for a basic explanation.
In the following sections, we will learn to achieve continuous motion recognition with the on-board 6-axis accelerometer of the [XIAO nRF52840 Sense](https://www.seeedstudio.com/Seeed-XIAO-BLE-Sense-nRF52840-p-5253.html) shown below and voice keyword wake-up functionality using the on-board PDM microphone.
<!-- ![Seeed Studio XIAO nRF52840 Sense](https://cdn.nlark.com/yuque/0/2022/png/2392200/1668492017246-6f04d198-1961-4f7b-a990-dd6937468025.png#averageHue=%23a6997f&clientId=u640cf75b-7515-4&from=paste&height=164&id=TkFsQ&originHeight=650&originWidth=970&originalType=binary&ratio=1&rotation=0&showTitle=true&size=512355&status=done&style=none&taskId=u369408e4-7109-4379-8247-0698cf19286&title=Seeed%20Studio%20XIAO%20nRF52840%20Sense&width=245 "Seeed Studio XIAO nRF52840 Sense") -->
<div style="text-align:center;"><img src="https://files.seeedstudio.com/wiki/XIAO_Big_Power-Board-ebook-photo/chapter_4-1/chapter_4-1_12.png" width="300" height="auto" style="margin:0 auto" /><br /><sub>Seeed Studio XIAO nRF52840 Sense</sub></div>
<br />
Computer Vision applications such as Image Classification and Object Detection will also be implemented using the camera of the XIAO ESP32S3 Sense shown below.
<!-- ![Seeed Studio XIAO ESP32S3 Sense](https://cdn.nlark.com/yuque/0/2023/png/2392200/1698372025691-4acf4da8-34fb-418c-88e3-8f72474a4335.png#averageHue=%23c7c7c1&clientId=uc417d4eb-bab9-4&from=paste&height=164&id=ub288bc7f&originHeight=711&originWidth=1063&originalType=binary&ratio=2&rotation=0&showTitle=true&size=518407&status=done&style=none&taskId=u7d41cfbf-583c-4385-9c9d-a64b72bf904&title=Seeed%20Studio%20XIAO%20ESP32S3%20Sense&width=245.5 "Seeed Studio XIAO ESP32S3 Sense") -->
<div style="text-align:center;"><img src="https://files.seeedstudio.com/wiki/XIAO_Big_Power-Board-ebook-photo/chapter_4-1/chapter_4-1_13.png" width="300" height="auto" style="margin:0 auto" /><br /><sub>Seeed Studio XIAO ESP32S3 Sense</sub></div>