Skip to content

Commit 526834c

Browse files
committed
App note content update & preview gen retrigger
1 parent 1017851 commit 526834c

File tree

1 file changed

+10
-10
lines changed
  • content/hardware/06.nicla/boards/nicla-voice/tutorials/glass-break-detector

1 file changed

+10
-10
lines changed

content/hardware/06.nicla/boards/nicla-voice/tutorials/glass-break-detector/content.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,10 @@ The confusion matrix highlights the model's capability to classify audio samples
173173
- Correctly classified "glassbreak" events: 94.4 %
174174
- Correctly classified "unknown" samples: 100 %
175175

176-
Misclassifications mainly happened for short-duration glass-breaking sounds, suggesting the need for additional data or refinement of the processing pipeline to improve robustness. Regular updates to the dataset with new samples can address such limitations and improve performance.
176+
Misclassifications could have happened for short-duration glass-breaking sounds, suggesting the need for additional data or refinement of the processing pipeline to improve robustness. Regular updates to the dataset with new samples can address such limitations and improve performance.
177177

178178
***The model performance can be affected if the application is implemented in a very different environment than the one used for training. It is recommended that the datasets be provided with new samples and the model be retrained for a new and upgraded deployment.***
179179

180-
For a new model deployment, use the [Syntiant® uploader](assets/Syntiant_Uploader.zip) and replace the `ei_model.synpkg`, which you can find inside the downloaded folder with yours.
181-
182180
## Deployment
183181

184182
### Model Deployment
@@ -238,6 +236,8 @@ If you prefer to update manually, navigate to the **`ndp120`** directory and run
238236

239237
***If you are not familiar with updating the NDP120 processor firmware and uploading the trained machine learning model, please refer to [this section](https://docs.arduino.cc/tutorials/nicla-voice/user-manual/#ndp120-processor-firmware-update) of the Nicla Voice User Manual.***
240238

239+
For a new model deployment with manual approach, use the [Syntiant® uploader](assets/Syntiant_Uploader.zip) and replace the `ei_model.synpkg`, which you can find inside the downloaded folder with yours.
240+
241241
### Running with Edge Impulse CLI
242242

243243
Once the Nicla Voice is updated with the firmware and model, you can run the trained glass-breaking detector model using the Edge Impulse CLI:
@@ -254,7 +254,7 @@ If everything is set up correctly, the terminal will display information similar
254254

255255
Alternatively, you can monitor the inference process using an Arduino script uploaded to the Nicla Voice.
256256

257-
Open the Arduino IDE and use the following example script to visualize results in the Serial Monitor:
257+
Open the Arduino IDE and use the following example script to observe results in the Serial Monitor:
258258

259259
```arduino
260260
#include "NDP.h"
@@ -361,11 +361,9 @@ With the machine learning model trained, validated, and deployed onto the Nicla
361361

362362
Nicla Voice is now capable of detecting glass-breaking sounds using a trained machine learning model. You can create an expanded system by integrating the Nicla Voice with the Portenta H7 and Arduino Cloud to add functionality and scalability.
363363

364-
This expanded Glass Breaking Detector system introduces real-time alerts and automation, using the Nicla Voice, Portenta H7, and Arduino Cloud capabilities. This integration provides a solution for monitoring and managing glass-related events.
365-
366364
![Possible expanded glass break detection system](assets/nicla-vehicle-install.png)
367365

368-
The upgraded example offers practical and scalable safety features designed for applications in buildings or other enclosed spaces. Its adaptability allows for implementation in various scenarios, providing distinct monitoring and security needs.
366+
The expanded glass breaking detector uses the Nicla Voice, Portenta H7, and Arduino Cloud to provide practical and scalable safety features for buildings and other enclosed spaces. Its adaptability makes it suitable for various monitoring and security scenarios.
369367

370368
### Expanded System Overview
371369

@@ -806,9 +804,11 @@ In this example, you can view real-time event logs, track BLE connection status,
806804
- **Connection Status:** The BLE connection status between the Nicla Voice and Portenta H7 is shown, to provide present system operation.
807805
- **Security Alert and Lockdown Mechanism Indicators:** You can monitor the activation status of the *Security Alert* and *Lockdown* mechanism directly from the dashboard.
808806

807+
The following image shows an example of Arduino Cloud dashboard displaying the ongoing events:
808+
809809
![Glass break detection within glass structures example](assets/edge-glass-break-building-dashboard.gif)
810810

811-
The cloud integration enables you to receive updates and take action from anywhere, making the system more accessible and responsive. The following clip shows a brief insight of the inference process and communication of Nicla Voice and the Portenta H7:
811+
The cloud integration allows you to receive updates and take action from anywhere, making the system more accessible and responsive. The following clip shows a brief insight of the inference process and communication of Nicla Voice and the Portenta H7:
812812

813813
![Nicla Voice & Portenta H7 - Brief Insight](assets/glass-break-insight-operation.gif)
814814

@@ -822,9 +822,9 @@ All the codes and files of this application note can be found below:
822822

823823
## Conclusion
824824

825-
This application note shows how Edge Impulse and the Nicla Voice enable real-time, on-device sound classification with a streamlined workflow from data management to local inference. This integration simplifies the development of low-power AI applications, even for users with minimal machine learning experience.  
825+
This application note explains how to use Edge Impulse and Nicla Voice for real-time sound classification directly on the device. The process is straightforward, covering from managing data to running the model, making it accessible even for those with limited experience in machine learning.
826826

827-
Beyond glass-breaking detection, this process can be adapted for applications like fall detection and other audio-based classifications. With the capabilities of the Nicla Voice and flexible deployment of Edge Impulse, you can create versatile edge AI systems to address various safety and monitoring challenges.  
827+
While this application note focuses on detecting glass-breaking sounds, the same approach can be used for other tasks like fall detection or identifying different audio events. With the Nicla Voice and Edge Impulse, you can develop flexible systems for various safety and monitoring needs.
828828

829829
## Next Steps
830830

0 commit comments

Comments
 (0)