Skip to content

Files

Latest commit

 

History

History

edgeimpulse

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

EdgeImpulse Examples

NeuralSPOT includes a port of EdgeImpulse's generic C++ library, making it easy to integrate AI projects generated by NeuralSPOT. See here for a detailed walkthrough of how we used Nests to integrate EdgeImpulse models.

Compiling EdgeImpulse Projects

These projects started as a Nest, which was modified to remove duplicated components such as Tensorflow and CMSIS-DSP and to include EdgeImpulse's SDK. Those modifications are captured in projects/edgeimpulse/makefile.

$> cd .../projects/edgeimpulse
$> make PROJECT=ei_yes_no
$> make deploy
$> make view

Each of these projects include all needed NeuralSPOT components plus the EdgeImpulse SDK and the exported EdgeImpulse model. To upgrade NeuralSPOT, use the nest make target. Nothing else is needed unless the new version requires NeuralSPOT API changes in the main model file.

To upgrade all of neuralSPOT in a project (in this example, ei_yes_no):

$> cd neuralSPOT
$> make clean # if needed
$> make # build neuralSPOT
$> make NESTDIR=projects/edgeimpulse/ei_yes_no nest

To upgrade a single neuralSPOT component (in this example, ns-audio):

$> cd neuralSPOT
$> make clean # if needed
$> make # build neuralSPOT
$> make NESTDIR=projects/edgeimpulse/ei_yes_no NESTCOMP=ns-audio nestcomponent

Example Models

Project Description
ei_basic_example Shows how to integrate an EdgeImpulse model exported as generic C++ to NeuralSPOT
ei_anomaly_detection Shows a practical fan speed anomaly detector built in EdgeImpulse and using MPU6050 data collected using our MPU data collector.
ei_yes_no Shows a continuous inference audio model detecting whether 'yes' or 'no' was spoken, built in EdgeImpulse and using NeuralSPOT's libraries including low powerAUDADC audio sampling.
hello_ambiq (WIP) Shows a continuous inference audio model detecting whether 'hello Ambiq' was spoken, built in EdgeImpulse using transfer learning and using NeuralSPOT's libraries including AUDADC audio sampling.