This builds and runs an exported impulse locally on your machine. See the documentation at Deploy your model as a C++ library. There is also a C version of this application.
No hardware optimization! This example repository contains the bare minimum example of compiling your impulse, and does not contain hardware optimizations for MPUs or on Linux. See example-standalone-inferencing-linux to compile with optimizations.
- Download and unzip your Edge Impulse C++ library into this directory
- Copy a test sample's raw features into the
features[]
array in source/main.cpp - Enter
make -j
in this directory to compile the project. If you encounter any OOM memory error trymake -j4
(replace 4 with the number of cores available) - Enter
./build/app
to run the application - Compare the output predictions to the predictions of the test sample in the Edge Impulse Studio