Prerequisites
Make sure you followed the Continuous motion recognition tutorial, and have a trained impulse. Also install the following software:- Python 3 - to run a web server that serves the MIME type of the
.wasm
file correctly.
Deploying your impulse
Head over to your Edge Impulse project, and go to Deployment. From here you can create the full library which contains the impulse and all external required libraries. Select WebAssembly and then click Build to create the library. Download and unzip the.zip
file.
Then, create a new file called run-impulse.js
in the same folder, and add:
server.py
and add:
Running the impulse
With the project ready it’s time to verify that the application works. Head back to the studio and click on Live classification. Then load a validation sample, and click on a row under ‘Detailed result’.
Selecting the row with timestamp '320' under 'Detailed result'.

Copying the raw features.
index.html
and add:
YOUR FEATURES HERE
.
Then run the application via:
Seeing the output
To see the output of the impulse, open the developer console in your browser.
Seeing the results of your impulse running in the browser.